[Greasemonkey] foundInjectedScript is not defined
Jeremy Dunck
jdunck at gmail.com
Tue Jan 24 07:09:18 EST 2006
On 1/23/06, WHITEMARE2 <whitemare2 at delphiforums.com> wrote:
>
> Someone is using a script I created, but she is getting this error. The script is installed and enabled, but won't run. Many other people have used the script and it runs fine. She is running Firefox 1.5 and Greasemonkey 0.6.4 on Windows XP. She's re-installed Greasemonkey and the script. Any ideas how to fix this?
>
> Error: foundInjectedScript is not defined
> Source File: chrome://greasemonkey/content/browser.js
> Line: 400
>
OK, there's a minor bug in GM, but I don't think it's related to your
script working (or not).
Basically, the declared var is foundScript, but the code is
setting/getting foundInjectedScript. This is a logical error, but
does not cause the runtime error you're seeing as long as any script
actually matches for injection..
In order for your user to see that error, your script isn't being
selected for injection.
Are you sure her configured includes should match the URL she's viewing?
More information about the Greasemonkey
mailing list