[Greasemonkey] Long literal strings of html
edilee at gmail.com
Thu Apr 21 03:11:49 EDT 2005
Oh, just realized that I didn't post the updates for GM_getSelf
returning contents instead of adding the code back to the script. (I
went with the method that didn't give the user script access to the
Also, a little error in that GM_getString function a couple posts
back.. it should be GM_getSelf() not GM_getSelf2().
GM_getSelf could allow for other hacks as well not just defining
variables for a hash table. A script could parse itself for <overlay
insertbefore..> and execute depending on what it finds. Like mentioned
earlier with data, you could just stick in base64 encoded files and
parse them out later.
More information about the Greasemonkey