How to remove all items from the Amazon Kindle library at once
Written by Jan Beck on in Graz, Austria.
Amazon wants to store everything you ever sent to your Kindle in its cloud library. Forever. If you want to remove documents permanently you have to delete them by hand, item by item. This bookmarklet saves you the time.
I make heavy use of sending longer articles to my Kindle, either via Readabilitys Chrome Extension and Reeder. Plus some time ago I subscribed to taz.de that sent a PDF newspaper to my Kindle every morning.
This let my library grow until to reach nearly the four-digit mark. I decided it’s time to get rid of the clutter and looked for a select all - delete option at the My Kindle settings page.
Not so fast. Amazon apparently wants to avoid hoards of angry customers who accidentally deleted all their purchased kindle e-books so they only give you to option delete items individually. Googling the issue also didn’t help as I found many other users left with the same problem.
I noticed Amazon loads jQuery to this page and couldn’t resist in trying to loop through that item list and let jQuery trigger the delete button for me. After some minutes of playing around I came up with a basic code snippet that would do what I wanted:
Fion.deleteItem('deleteItem_' + jQuery(this).prev().val())
Add the following bookmarklet to your browser and use it on amazon Kindle library: Save me
It’s fun to extend other websites with custom functionalities. Reminds me of the Greasemonkey, a project that I haven’t heard anything about for a long time.
If you ever find yourself doing something like I did with this bookmarklet and article please make sure you check the “is it worth the time?” sheet by xkcd’s beforehand: