Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

Disable Customise... menu item

  • 3 个回答
  • 2 人有此问题
  • 3 次查看
  • 最后回复者为 cor-el

more options

Hi,

I am trying to disable the "customise..." menu item that you get when right clicking at the top of FF

I have added the below to my userchrome.css with no success - can anyone help?

  1. toolbar-context-menu { display: none !important;}
  2. tabContextMenu {

display:none !important;}

  1. contentAreaContextMenu {

display:none !important;}

Hi, I am trying to disable the "customise..." menu item that you get when right clicking at the top of FF I have added the below to my userchrome.css with no success - can anyone help? #toolbar-context-menu { display: none !important;} #tabContextMenu { display:none !important;} #contentAreaContextMenu { display:none !important;}

被采纳的解决方案

Try this code in the userChrome.css file.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#menu_customizeToolbars,
#viewToolbarsMenuSeparator,
menuitem.viewCustomizeToolbar {visibility: collapse !important; }

#PanelUI-customize { visibility: collapse !important; }
#PanelUI-help { margin-left: auto!important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

定位到答案原位置 👍 0

所有回复 (3)

more options

I also need to remove the "menu bar" and "bookmarks toolbar" links too

more options

anyone got any suggestions

more options

选择的解决方案

Try this code in the userChrome.css file.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#menu_customizeToolbars,
#viewToolbarsMenuSeparator,
menuitem.viewCustomizeToolbar {visibility: collapse !important; }

#PanelUI-customize { visibility: collapse !important; }
#PanelUI-help { margin-left: auto!important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.