[Greasemonkey] load a script via keypress

Brendan J verifex at gmail.com
Fri Apr 14 12:46:06 EDT 2006


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


On 4/13/06, Bill Donnelly <donnelly at snowcrest.net> wrote:
>
> I haven't tried this yet, but there is an extension that works with
> and extends the keyconfig extension so you can load a local file script
> into a page using a keypress. It looks interesting.
> Along with bookmarklets, it might be a good addition to scripting along
> with Gm. I guess you could also keypress-load a script that calls a
> GmScript function.
>
> http://www.pqrs.org/~tekezo/firefox/extensions/functions_for_keyconfig/
>
> See/search for "Sample of calling f4kc_LoadSubScript"
>
> --
> Nixon wiretapped the DNC offices.  Bush wiretapped the American people.
> Bush IS the new Nixon.  And a two-time Sore 'Winner'.  Impeach Bush!
>
> __The United States is NOT "at War!"__
> Do not believe their lies and propaganda.  Do not allow them to use this
> obvious,
> blatant excuse against the American people, our freedoms, and our way of
> life.
>
> Clinton lied and no one died.  pResident Gov. Bush lied and thousands
> died.
> Truly support our troops.  Bring them home!  NOW!
>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list