Skip to content

Instantly share code, notes, and snippets.

@Neurogami
Created April 1, 2018 23:10
Show Gist options
  • Save Neurogami/cc4a2224632f491c18cfce782cd706f6 to your computer and use it in GitHub Desktop.
Save Neurogami/cc4a2224632f491c18cfce782cd706f6 to your computer and use it in GitHub Desktop.
Bookmarklet version of javascript to get plaintext of Amazon Cloud Reader
Original code is from https://gist.github.com/aaronshaf/1346968
The instructions were to open a dev console and paste in the script.
A nicer way is to make it a bookmarklet.
1. Create a new bookmark in our browser. You should be able to edit the name and URL
2. Give it a decent name (e.g. "amz cloud plaintext")
3. Paste the following as the URL (make it all one line):
javascript:(function(){ new_window=window.open();new_window.document.body.innerHTML = $('iframe').contents().find('iframe').contents().find('body').get(1).innerHTML; })();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment