Last active
June 23, 2016 04:39
-
-
Save adeluccar/3e81cdd9ca6074bddc8587c18eed16be to your computer and use it in GitHub Desktop.
Use this javascript in the browser console to delete all kindle highlights
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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