Skip to content

Instantly share code, notes, and snippets.

@dacer
Last active December 24, 2015 11:19
Show Gist options
  • Save dacer/6790130 to your computer and use it in GitHub Desktop.
Save dacer/6790130 to your computer and use it in GitHub Desktop.
It's a veryvery simple js for deleting various documents you send to kindle by email. Just open the https://www.amazon.com/gp/digital/fiona/manage#All And open chrome console, copy/paste the js code in it then click your enter key. It will auto delete the 15 items on the page.
for (var i=1;i<16;i++){
document.getElementById("actionSelect"+i).click();
document.getElementById("deleteLink_"+i).click();
document.getElementsByClassName("ap_custom_close")[0].click();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment