Skip to content

Loading…

GM_registerMenuCommand is not working in 1.1 #1627

Closed
mjh563 opened this Issue · 2 comments

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
@arantius arantius Fix monkey menu hiding events.
Fixes #1627
9e05d39
@arantius arantius closed this in 9e05d39
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.