Created
March 9, 2012 16:02
-
-
Save wildjcrt/2007247 to your computer and use it in GitHub Desktop.
batch delete Kindle Personal Document js code
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
javascript:(function(){ var v = new RegExp("PersonalDocuments"); if (!v.test(document.URL)) { return false; } {a=document.getElementsByClassName('rowBodyCollapsed');for(var i = 0; i<a.length; i++){Fion.deleteItem('deleteItem_'+a[i].getAttribute('asin'));};return; }})(); |
Since Amazon change the "Manage Kindle Library" to https://www.amazon.com/gp/digital/fiona/manage?ie=UTF8&*Version*=1&*entries*=0&#All, the JS should be:
javascript:(function(){ var v = new RegExp("fiona"); if (!v.test(document.URL)) { return false; } {a=document.getElementsByClassName('rowBodyCollapsed');for(var i = 0; i<a.length; i++){Fion.deleteItem('deleteItem_'+a[i].getAttribute('asin'));};return; }})();
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome. Totally saved me about an hour of clicking. Thanks :)