Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Is there a way to edit the content of the right-click menu?

more options

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.

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)

more options

You can rearrange menus by using the Menu Editor add-on - https://addons.mozilla.org/firefox/addon/menu-editor

more options

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.