Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Faced with 80 old Instapaper Kindle documents and no delete all button, I did what any self respecting coder would do.
//load jquery in console separately first
var jq = document.createElement('script');
jq.src = "http://code.jquery.com/jquery-latest.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
jQuery.noConflict();
//delete ALL entries currently listed in Manage Your Kindle screen
idsToDelete = []
$('form[name="fionaDL"] input[name="contentName"]').each(function () { idsToDelete.push(this.value); })
$(idsToDelete).each(function() {Fion.deleteItem('deleteItem_' + this);})
@adamawolf

This comment has been minimized.

Copy link
Owner Author

commented Jan 25, 2013

In my case I used this on https://www.amazon.com/gp/digital/fiona/manage?ie=UTF8&*Version*=1&*entries*=0#PersonalDocuments which listed only the Instapaper entries I wanted to delete.

@NightMachinary

This comment has been minimized.

Copy link

commented Feb 12, 2019

Can you update this to delete all entries matching a regex?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.