搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 5 人有此问题
  • 5 次查看
  • 最后回复者为 CaptainCosmic

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.