[Greasemonkey] load a script via keypress

Bill Donnelly donnelly at snowcrest.net
Fri Apr 14 16:02:41 EDT 2006


You pretty much have to do local file access via an extension.

There are good examples of how to do that in the downThemAll,
Image Toolbar and jsLib Lite extensions.

And you can always use the GmScript to Extension Compiler.

And/or add it in to Gm as additional functionality, but there are
fairly potentially dangerous security issues, especially if it's not
done correctly. And maybe even if it is done 'correctly'.

I've thought about using the jsLib sound library module to add
sound features to Gm. (basically, play a .WAV, or .MP3)

Brendan J wrote:
> I have been looking for a way to use GM script to access local PC content,
> and sadly I think this is more of the same limitation of GM.  I suppose if
> you make a script that loads up another script via GM_xmlHttp and then load
> it that could work, but as far as loading another script on your PC, I think
> thats kinda outside the security limitations of GM as of yet.  If it is not,
> and I'm just talking out of my butt, please tell me how to do this, as I
> would really like to be able to access and even write to local PC files.
>
> Brendan


More information about the Greasemonkey mailing list