Forked from aaronshaf/bookmarklet-expanded.js
Last active
June 27, 2016 10:51
Star
You must be signed in to star a gist
Copy text from Amazon's Cloud Reader
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
// Useful for students in need of block quotes for their paper, etc. | |
// Executing with the JavaScript console | |
new_window=window.open();new_window.document.body.innerHTML = $('iframe').contents().find('iframe').contents().find('body').get(1).innerHTML; | |
// With a bookmarklet: | |
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