[Greasemonkey] User Script Commands greyed out

Jim Roberts jimmyroberts at gmail.com
Sat Feb 4 04:15:52 EST 2006

On 2/4/06, WHITEMARE2 wrote:
> Is there something that can cause GM_registerMenuCommand not to work?  If I create a
> simple script like
> function hi() {
> alert("hello there");
> }
> GM_registerMenuCommand('hi there', hi);
> I can use the User Script Commands submenu.  But if I add the exact same code to my
> wysiwyg script, then "User Script Commands" is greyed out.  My script is running fine.  I
> have moved the code around in the script, but can't get it to work.
> I am using Firefox, Greasemonkey 0.6.4 on Windows
> thanks!

Does this happen on pages your script is active? User Script Commands
are disabled if the script isn't running on the current page.

More information about the Greasemonkey mailing list