Customer Discussions > Kindle forum

Library Bulk Delete

Sort: Oldest first | Newest first
Showing 1-25 of 43 posts in this discussion
Initial post: Oct 27, 2011 9:31:09 AM PDT
A. Stauff says:
I went click-happy on the website of Free Books for Kindle.

Now I want to delete most of the books from the Archive Library.

Does anyone know of a method besides clicking on each and every book to do a Bulk Delete?

Thanks for your assistance.

Posted on Oct 27, 2011 9:56:55 AM PDT
Jazzy_Jeff says:
They are one at a time :). Enjoy your afternoon.

Posted on Oct 28, 2011 1:17:26 AM PDT
A. Stauff says:
I have actually found a bit of a time saver while deleting. If you click Delete under Action but do NOT click the YES confirmation, you can do 8 of the 15 books listed on each page.

Then you start at the top and quickly click Yes, Yes, Yes before the page resets and several books are then deleted.

In reply to an earlier post on Oct 28, 2011 1:39:55 AM PDT
Dragi Raos says:
Wow, that was some monster "shopping" spree! :o)

Posted on Mar 19, 2012 9:10:22 PM PDT
@ A. Stauff: That tip re. loading up the "are you sure" popups worked for me for a few minutes and then what started happening is every time I moused away from the "are you sure" popup, the popup would disappear. This was in Firefox. So then I opened up Chrome and again, that method worked for a few minutes and then stopped. I don't know why it works and then stops. I feel your pain. Because I put many periodicals on my kindle for free using the Calibre program, I have over 700 old magazines that I want to get rid of because they are cluttering up my online kindle archives. This is so not fun. :)

Posted on Apr 10, 2012 10:30:34 AM PDT
J. Atkins says:
If you past the following code into the address bar (with the javascript:) prefix, it delete all 15 items on the current page...

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; }})();

In reply to an earlier post on Apr 22, 2012 10:52:04 PM PDT
Thomas Fenn says:
You are a god.

In reply to an earlier post on Apr 23, 2012 1:35:10 AM PDT
A. Stauff says:
Thomas Fenn, does this mean that the information J. Atkins provided actually worked???

In reply to an earlier post on Apr 23, 2012 1:43:29 AM PDT
Thomas Fenn says:
Yeah. It has to be pasted into the source code box though (not the address bar).

Here's how you do it.
1)Get on chrome
2)Get on the page with the item you want to delete
3)Hit CTRL+Shift+J
4)Paste the said code
5)Hit Enter
6)Wait for a sec

Done. I didn't count the exact number of documents it took out, but it was sizeable.



In reply to an earlier post on May 1, 2012 10:09:08 AM PDT
Jennifer says:
Using a Mac...pressing ctrl/shift/J doesn't do anything??

In reply to an earlier post on May 1, 2012 7:16:25 PM PDT
Thomas Fenn says:
I think it's Command+Option+J on the Mac.

Posted on May 5, 2012 8:38:02 AM PDT
Paul Oliver says:
Great stuff, J. Atkins. I've modified it a little bit to get rid of the guardian newspaper, which I get delivered to my Kindle daily.

var a=document.getElementsByClassName('rowHeaderCollapsed');
var to_delete = [];
for(var i = 0; i<a.length; i++){
if (a[i].getElementsByClassName('headerTitle')[0].textContent == 'The Guardian and The Observer') {
var id = a[i].getElementsByTagName('input')[1].value;
for(var i = 0; i<to_delete.length; i++){Fion.deleteItem('deleteItem_'+to_delete[i]);}

Posted on May 24, 2012 6:33:52 AM PDT
Last edited by the author on May 24, 2012 6:39:01 AM PDT
Don't forget to replace "Personal Documents" with books if needed

In reply to an earlier post on May 24, 2012 7:55:48 AM PDT
saraf says:
The Mac would be command/shift/J

Posted on Jun 4, 2012 5:30:55 AM PDT
Paul Oliver says:
I've made my script above into a bookmarklet. You can drag it to your browser bookmarks to save it. If you want to change it for another publication, just replace the text The%20Guardian%20and%20The%20Observer. Remember - spaces are %20 in URLs.


In reply to an earlier post on Jun 17, 2012 7:38:40 PM PDT
This code worked wonderfully! I sorted all of my old Calibre docs by title. Changed the script 'The Guardian and the Observer' to Associated Press, then BBC News (fast) and it deleted all titles on page. Resort by title again, paste code until all of a title is gone. Thanks!

Posted on Jun 23, 2012 9:13:09 AM PDT
Jan Drewniak says:
Hi There, I recently ran into the issue of deleting multiple items and I loved the idea of turning this feature into a bookmarklet. I wanted to make it a little bit more accessible for non-technical people, so I took some ideas from the script by Paul Oliver and J. Atkins and wrapped it in a gui. The result is available here . Any feedback to improve this is appreciated.

In reply to an earlier post on Jul 3, 2012 11:04:30 PM PDT
Very tidy work! (absurd that it needs to be done of course). One change that would be much appreciated is to allow regexes for the titles, or allow an author match instead. I have a large instapaper back catalogue, and the titles differ with each delivery, as they have the date as a suffix - so I want to delete everything with title matching 'Instapaper:.*' (or with exact author 'Instapaper' would also work).

In reply to an earlier post on Jul 5, 2012 3:37:01 AM PDT
Jan Drewniak says:
Your right, instapaper is a major use-case here. So I changed the title matching from just string matching to regex, so typing 'Instapaper' should match all the Instapaper items on the page. Also, I added highlighting so the matched items will be visible.

In reply to an earlier post on Jul 18, 2012 11:04:23 PM PDT
Thanks for the excellent script. Perhaps it should be made into a greasemonkey plugin so that you don't have to url unescape it to use it with chrome :)

Posted on Jul 26, 2012 8:18:26 AM PDT
Here's a different take on the problem. Adds checkboxes to each document plus a Bulk Delete button.

In reply to an earlier post on Jul 26, 2012 11:08:39 AM PDT
Jan Drewniak says:
great job, I definitely agree that checkboxs are a very useful interface here.

Posted on Jul 26, 2012 11:12:55 AM PDT
CBRetriever says:
so email amazon at their feedback address and tell them

Posted on Aug 9, 2012 6:38:29 PM PDT
D. Weir says:
When I enter the code in Paul Oliver's post, it says "undefined" in the console, and nothing happens to the Readability articles. What am I doing wrong?

In reply to an earlier post on Aug 10, 2012 5:45:18 AM PDT
Paul Oliver says:
Hey Daniel. Did you try, by Jan Drewniak? A more user friendly approach. ;)
‹ Previous 1 2 Next ›
[Add comment]
Add your own message to the discussion
To insert a product link use the format: [[ASIN:ASIN product-title]] (What's this?)
Prompts for sign-in

Recent discussions in the Kindle forum

Discussion Replies Latest Post
News: Kindle for iOS Software Update 4.6
0 11 days ago
Simon & Schuster Agreement
0 Oct 20, 2014
Have a Kindle Question?
0 Sep 12, 2012
Warning, Kindle Voyage gives you LESS. 76 4 seconds ago
Kindle gift book won't download to device 2 1 minute ago
RAoK 79/80 - Tis the Season, and the end of the year! 1032 3 minutes ago
books on kindle for pc not on kindle 8 4 minutes ago
Silk Browser Bookmarks Import 1 4 minutes ago
We're an International Quirky Bunch! Home of Manic Gardens, Roof Possums, Goat Spanx, Flailing Yahoos and So Geese! And Cherie! 5621 5 minutes ago
Freebie Books - Links Only - No Self Promotion III 7490 7 minutes ago
kindle does not charge 1 8 minutes ago
Removing unwanted books from my kindle 37 14 minutes ago

This discussion

Discussion in:  Kindle forum
Participants:  30
Total posts:  43
Initial post:  Oct 27, 2011
Latest post:  Dec 29, 2013

New! Receive e-mail when new posts are made.
Tracked by 17 customers

Search Customer Discussions