Skip to content

Instantly share code, notes, and snippets.

@chebee7i
Forked from aaronshaf/bookmarklet-expanded.js
Created July 20, 2013 18:45
Show Gist options
  • Save chebee7i/6046037 to your computer and use it in GitHub Desktop.
Save chebee7i/6046037 to your computer and use it in GitHub Desktop.
// 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