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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Disable Customise... menu item

  • 3 antwoorde
  • 2 hierdie probleem
  • 14 views
  • Laaste antwoord deur 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;}

Gekose oplossing

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.

Lees dié antwoord in konteks 👍 0

All Replies (3)

more options

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

more options

anyone got any suggestions

more options

Gekose oplossing

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.