Created
January 27, 2014 22:18
-
-
Save jerone/8658483 to your computer and use it in GitHub Desktop.
Greasemonkey execution order contextmenu patch https://github.com/greasemonkey/greasemonkey/pull/1861
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
content/addons4-overlay.xul | 30 ++++++++++++++++++------------ | |
1 file changed, 18 insertions(+), 12 deletions(-) | |
diff --git a/content/addons4-overlay.xul b/content/addons4-overlay.xul | |
index 8016358..fc55b16 100644 | |
--- a/content/addons4-overlay.xul | |
+++ b/content/addons4-overlay.xul | |
@@ -45,18 +45,24 @@ | |
label="&Show;" accesskey="&Show.accesskey;" class="greasemonkey greasemonkeyNoHide" | |
/> | |
<menuseparator class="greasemonkey"/> | |
- <menuitem command="cmd_userscript_execute_first" | |
- label="&ExecuteFirst;" class="greasemonkey greasemonkeyNoHide" | |
- /> | |
- <menuitem command="cmd_userscript_execute_sooner" | |
- label="&ExecuteSooner;" class="greasemonkey greasemonkeyNoHide" | |
- /> | |
- <menuitem command="cmd_userscript_execute_later" | |
- label="&ExecuteLater;" class="greasemonkey greasemonkeyNoHide" | |
- /> | |
- <menuitem command="cmd_userscript_execute_last" | |
- label="&ExecuteLast;" class="greasemonkey greasemonkeyNoHide" | |
- /> | |
+ | |
+ <menu id="addonitem-execution-menu" label="&Sort.Execution;" | |
+ class="greasemonkey greasemonkeyNoHide"> | |
+ <menupopup id="addonitem-execution-popup"> | |
+ <menuitem command="cmd_userscript_execute_first" | |
+ label="&ExecuteFirst;" class="greasemonkey greasemonkeyNoHide" | |
+ /> | |
+ <menuitem command="cmd_userscript_execute_sooner" | |
+ label="&ExecuteSooner;" class="greasemonkey greasemonkeyNoHide" | |
+ /> | |
+ <menuitem command="cmd_userscript_execute_later" | |
+ label="&ExecuteLater;" class="greasemonkey greasemonkeyNoHide" | |
+ /> | |
+ <menuitem command="cmd_userscript_execute_last" | |
+ label="&ExecuteLast;" class="greasemonkey greasemonkeyNoHide" | |
+ /> | |
+ </menupopup> | |
+ </menu> | |
<menuseparator class="greasemonkey"/> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment