Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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