Created
July 25, 2016 11:20
-
-
Save mg/b470c03dbcb963b9fbb75db5f7a385b1 to your computer and use it in GitHub Desktop.
Copy Amazon Kindle Highlights in Chrome
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
var items= document.getElementsByClassName("highlight") | |
var lines= [] | |
for(var i= 0; i < items.length; i++) lines.push(items[i].innerText) | |
copy(lines.join("\n\n")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment