Skip to content

GM_registerMenuCommand is not working in 1.1 #1627

mjh563 opened this Issue Sep 15, 2012 · 2 comments

3 participants

mjh563 commented Sep 15, 2012

Firefox 16 beta + Greasemonkey 1.1:

The "User script commands" menu doesn't open and gives this error:

Error: TypeError: el is undefined
Source File: resource://greasemonkey/util/emptyEl.js
Line: 4

This basic script will reproduce the problem:

// ==UserScript==
// @name Test
// @grant GM_registerMenuCommand
// ==/UserScript==

GM_registerMenuCommand ("test", function(){alert ("test")});

mjh563 commented Sep 15, 2012

It works okay in 1.0 but fails in 1.1

Hpr222 commented Sep 16, 2012

Having the same problem with all of my scripts as well.

@arantius arantius added a commit that closed this issue Sep 17, 2012
@arantius arantius Fix monkey menu hiding events.
Fixes #1627
@arantius arantius closed this in 9e05d39 Sep 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.