Skip to content

Instantly share code, notes, and snippets.

@protoEvangelion
Last active January 31, 2019 21:20
Show Gist options
  • Select an option

  • Save protoEvangelion/771d022c45b1c7fc5e7355004bbdd321 to your computer and use it in GitHub Desktop.

Select an option

Save protoEvangelion/771d022c45b1c7fc5e7355004bbdd321 to your computer and use it in GitHub Desktop.
Kindle Copy Text
[...temp1.children].reduce((accum, current) => {
return `${accum} ${current.innerText}`
}, '')
@protoEvangelion

Copy link
Copy Markdown
Author

temp1 is the wrapper node for the text

@protoEvangelion

Copy link
Copy Markdown
Author

Throw that in your https://read.amazon.com/ JS console and execute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment