搜尋 Mozilla 技術支援網站

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

了解更多

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

  • 1 回覆
  • 0 有這個問題
  • 3 次檢視
  • 最近回覆由 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 於 修改