Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

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

  • 1 amsa
  • 0 sa na da wannan matsala
  • 3 views
  • Amsa ta ƙarshe daga 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

All Replies (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;}

An gyara daga cor-el