[Greasemonkey] Bookmarkletting Greasemonkey Specialalis

Alex Thomson abthomson at gmail.com
Wed Jul 27 11:59:22 EDT 2005

Another idea would be to have the bookmarklet forward you to a
generated html page that contains the image/XML/etc and have GM
operate on that.  Highly inelegant but it would probably work.


On 7/26/05, Edward Lee <edilee at gmail.com> wrote:
> Well, you can always make your own bookmarklet out of a user script.
> Convert the user script into a data uri [1] and insert it into the
> following bookmarklet. It'll work for basic scripts that don't use any
> GM_functions.
> Examples:
> javascript:(function(d,s){d.body.appendChild(d.createElement('script')).src=s})(document,'data:text/javascript,alert(0)')
> javascript:(function(d,s){d.body.appendChild(d.createElement('script')).src=s})(document,'data:text/javascript;base64,YWxlcnQoJ0xvYWRlZCBzY3JpcHQhJyk=')
> (These should be on one line each with no spaces.)
> [1] http://software.hixie.ch/utilities/cgi/data/data
> --
> Ed
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey

More information about the Greasemonkey mailing list