Skip to content

Instantly share code, notes, and snippets.

@t27
Last active December 25, 2016 07:40
Show Gist options
  • Save t27/f907849a9f18172b04df035a3ed64af8 to your computer and use it in GitHub Desktop.
Save t27/f907849a9f18172b04df035a3ed64af8 to your computer and use it in GitHub Desktop.
Script for bulk selecting and deleting Kindle's Personal docs that you email using Send To Kindle through the Amazon website.
v=$('input[id*=chk]');
for(var i =0; i<10;i++) { v[i].click()};
$('#contentAction_delete_myx > div > a > span > button').click();
$('#dialogButton_ok_myx > span > button').click()
@t27
Copy link
Author

t27 commented Dec 25, 2016

Log in to http://kindle.amazon.com, in the top right corner, click on `Manage Devices and Content". Select the "Docs" option in the page that opens, you should see a list of all your uploaded docs. This is a list where you have to manually select the upto 10 items and then click on Delete and than again the confirmation. Manually, it's too tedious. And there's no option to bulk select/delete.

So open your Chrome/Firefox console and copy the above commands to select and delete the first 10 items. You only have to click the final confirmation screen. Run it multiple times to delete more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment