On Sun, Feb 20, 2011 at 10:11 AM, Claude Animo <[email protected]> wrote: > Hello, > I need to inject a GM script into a "file://" . > I have configured about:config with the following: > greasemonkey.fileIsGreaseable set to true. > My script [alert("foo")] , has been successfully injected once. > But, still now, I am unable to make it run again. > I'm sure of the following: > . greasemonkey.fileIsGreaseable is set to true > . the @include is correctly set for the file > . I have restarted firefox
Are you sure the @include is set to "file:///..."? Note that there are *3* slashes after "file:". The best way to be sure is to open the file with Firefox and copy the url into the @include. Also, if you are still using any version of Greasemonkey prior to 0.9, you may need to edit the included pages in the script manager, since the source code is only read upon installation. In other words, if you installed the script with say "@include file://..." and then you realised it was "file:///", changing the source won't help in 0.8x, you have to do it in the script manager. -- 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.
