Last.fm – Delete all scrobbles from a day

Programming
  • Open Library tab in Last.fm (https://www.last.fm/user/{username}/library)
  • Open browser console using F12
  • Copy the following into the console and press enter:
    jQuery('button.dropdown-menu-clickable-item[data-ajax-form-sets-state=deleted]').each(function(_, x) {
        x.click();
    });
    location.reload();
    

    This will delete all scrobbles visible on the page. Refresh the page and run again as necessary.