This was just answered for me. I'll quote the response I received.

    Since a couple of releases there are two new 'hidden' preferences:

    greasemonkey.aboutIsGreaseable
    greasemonkey.fileIsGreaseable

    The default value is "false". If you want Greasemonkey to run on
    file:/// urls, you have to set the second one to "true" (in
    about:config).


I only run script I've written, but it you run outside script, there is a 
security issue with changing these settings.





On 1/2/2010 10:51 AM, Ben Stover wrote:
> Sorry for this newbie question but how do I start a greasemonkey script from 
> my local hard disc?
>
> I wrote the simple script (see bottom of this posting) into a file
>
> D:\tmp\myscript.script
>
> and dragged this file on my Firefox (Greasemonkey addon is installed and 
> enabled).
> After dragging the following URL is visible in the browser:
>
> file:///D:/tmp/myscript.script
>
> But after hitting RETURN the script does not run.
>
> Why?
>
> Do all scripts have to be on a server and accessible only through http://  
> protocol - no file:/// possible?
>
> Ben
>
>
>
> // ==UserScript==
> // @name                        Test
> // @namespace           Foo
> // @description         Test
> // @include                     *CFIDE/debug/blank.html*
> // @version                     0.0.1
> // ==/UserScript==
>
> var x = document.createElement("<iframe>");
> x.src = "http://www.google.com";;
> document.body.appendChild(x);
> var x = document.createElement("<iframe>");
> x.src = "http://www.yahoo.com";;
> document.body.appendChild(x);
> var x = document.createElement("<iframe>");
> x.src = "http://www.bing.com";;
> document.body.appendChild(x);
>
>
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "greasemonkey-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/greasemonkey-users?hl=en.
>
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.


Reply via email to