為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 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.