Is there a way to edit the content of the right-click menu?
In previous versions of Firefox the right-click menu had the "Open Link in New Window" selection at the top, I was wondering if there was a way to return the menu to the way it was.
所有回复 (2)
You can rearrange menus by using the Menu Editor add-on - https://addons.mozilla.org/firefox/addon/menu-editor
2 Solutions found in http://support.mozilla.com/en-US/ques.../791244
the user cor-el has a method that does not require any add-ons. He States ---
This code in userChrome.css will move "Open Link in New Window" to the top of the context menu.
@namespace url("<a href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a>"); /* only needed once */ #contentAreaContextMenu > * { -moz-box-ordinal-group: 2; } #context-openlink { -moz-box-ordinal-group: 1 !important; }
---
the user jay_ff shows how to do it using the Menu Editor Add-on
1. Install the Menu Editor add-on from https://addons.mozilla.org/en-US/firefox/addon/menu-editor/ .
2. After the installation, go to Firefox> add-ons (or simply use Ctrl+Shift+A)
3. Go to the Menu Editor "Options"
4. In the "Main context menu," simply grab the "Open link in New Tab" and place it below the "Open Link in New Window"
5. and Voila! You may also change other menu options if you want to!
I tried jay_ff method first and found that indeed changing the Main Context Menu did cause the hotlink context menu to change as well.