Skip to content

Instantly share code, notes, and snippets.

@wpsmith
Forked from aaronshaf/bookmarklet-expanded.js
Created March 5, 2016 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpsmith/51f0875d5b182a826e60 to your computer and use it in GitHub Desktop.
Save wpsmith/51f0875d5b182a826e60 to your computer and use it in GitHub Desktop.
Copy text from Amazon's Cloud Reader
// Useful for students in need of block quotes for their paper, etc.
// Execute the line in your JavaScript console
new_window=window.open();new_window.document.body.innerHTML = $('iframe').contents().find('iframe').contents().find('body').get(1).innerHTML;
javascript: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