User:John Vandenberg/google books scrape text

From Wikisource
Jump to navigation Jump to search
UserScript.org
11698

The "Google Books Scrape Text" user script copies the text for a page to the clipboard.

Install[edit]

  1. This user script depends on the Firefox Greasemonkey extension which can be installed here.
  2. As this script is not "signed", the firefox config option signed.applets.codebase_principal_support needs to be set to 'true'. To do this, load "about:config". Refer to http://www.krikkit.net/howto_javascript_copy_clipboard.html
  3. Peruse the source code and install the user script.

Usage[edit]

  1. Go to Google Books and select a "Full View" book
  2. On a page such as this, a "Copy" button will appear with a selection list beside it with the options "HTML", "Lines" and "Text". The default, "Lines" will preserve end-of-line markers.
  3. The first time "Copy" is clicked, the follow confirmation dialog will appear:

Limitations[edit]

  • It doesnt handle pages prior to "1"; i.e. pages without roman numerals like i

Bugs[edit]

Please report problems at User talk:Jayvdb/google books scrape text.