Skip to content

Instantly share code, notes, and snippets.

@adeluccar
Last active June 23, 2016 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeluccar/3e81cdd9ca6074bddc8587c18eed16be to your computer and use it in GitHub Desktop.
Save adeluccar/3e81cdd9ca6074bddc8587c18eed16be to your computer and use it in GitHub Desktop.
Use this javascript in the browser console to delete all kindle highlights
(function () {
var buttons = document.getElementsByName("delete");
var n = buttons.length;
for (var i = 0; i < n; i++) {
console.log("Deleting " + i + " of " + n);
buttons[i].click();
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment