Skip to content

Order of user script commands reversed? #1347

arantius opened this Issue Apr 22, 2011 · 1 comment

1 participant


On 04/21/11 20:35, jep wrote:

I'm almost positive that at some point recently, the behavior of
GM_registerMenuCommand was changed so that the menu items get added in
reverse order from the older way. Now if you call
GM_registerMenuCommand, it adds the item at the TOP of the user menu.
Previously it added it to the bottom.


Confirmed working 0.9.1, broken 0.9.2.

@arantius arantius added a commit that closed this issue Apr 27, 2011
@arantius arantius Reverse menu command order.
Since .withAllMenuCommandsForWindowId() gives us the items in reverse order (in case we remove them), add each item as we get it to the top instead.

Fixes #1347
@arantius arantius closed this in d58e50c Apr 27, 2011
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.