GM_registerMenuCommand is not working in 1.1 #1627

Closed
mjh563 opened this Issue Sep 15, 2012 · 2 comments

Projects

None yet

3 participants

@mjh563

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

It works okay in 1.0 but fails in 1.1

@Hpr222

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
9e05d39
@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