搜索 | 用户支持

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

详细了解

Can I disable the right click on the menu bar, to stop the ability to customize?

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

more options

Can I disable the right click on the menu bar, to stop the ability to customize? I want to disable the address bar (which I can do), but then want to stop someone from right clicking on the menu bar and going back to customize and putting the address bar back in place.

Operating system

Linux

Can I disable the right click on the menu bar, to stop the ability to customize? I want to disable the address bar (which I can do), but then want to stop someone from right clicking on the menu bar and going back to customize and putting the address bar back in place. == Operating system == Linux

所有回复 (1)

more options

You would have to remove View > Toolbars > Customize as well to avoid that.

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

See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

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

#toolbar-context-menu, #menu_customizeToolbars {display:none!important;}

由cor-el于修改