Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 பதிலளி
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 3 views
  • Last reply by cor-el

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

All Replies (1)

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 மூலமாக திருத்தப்பட்டது