Created
February 15, 2017 07:31
-
-
Save txusko/e7e8a4861840548a72e7be0c39281f46 to your computer and use it in GitHub Desktop.
Last.fm: javascript hack to emulate the click action on the delete button of all the scrobbled elements in a page. You should be logged in. Example page: http://www.last.fm/user/YOUR_USER/library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.querySelectorAll('.chartlist-delete-button').forEach(function(elemento) { | |
elemento.click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment