[Greasemonkey] "Error: No menu commaner" occurs if greasemonkey 0.5 is disabled

Dave Land land at aol.com
Sat Aug 6 15:44:03 EDT 2005


On Aug 6, 2005, at 10:37 AM, Michael Kraft wrote:

> I installed GreaseMonkey 0.5 in Firefox 1.0.6 and it works fine if it 
> is
> enabled (monkey smiling), but if I disable it (frown) then every page 
> I go to
> generates a javascript error in the console.  Here's one when I was on
> www.google.com:
>
> Error: [Exception... "'Error: No menu commaner found for URL:
> http://www.google.com/' when calling method:
> [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001c
> (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "<unknown>"
>
> I traced the error to line 142 in browser.js which appears to throw 
> the error
> if it can't find the menu commander.  I'm guessing there isn't one if 
> GM is
> disabled.
>
> It doesn't seem to harm anything, but it does fill up the javascript 
> console
> with tons of messages.

Am I the only one who notices that the error says "commaner" and the
message above says "commander"?

The error is probably right: there is no menu "commaner," although there
might be one called "commander."

Dave Land



More information about the Greasemonkey mailing list