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!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

how do I hide/remove the customise menu

  • 1 réponse
  • 1 a ce problème
  • 24 vues
  • Dernière réponse par standov

more options

Hi all, this might have been answered already somewhere, but I can't find something that will fix my issue. I need to remove the Customise option from the toolbar context menu. at the moment my userchrome.css looks like this

menu[label="Tools"] menuitem[label="Sync Now"],#sync-setup-appmenu,#sync-syncnowitem-appmenu,#sync-setup,#sync-status-button,#BrowserPreferences radio[pane="paneSync"] {display:none!important;}
menuitem[label="Bookmarks Toolbar Folder"] { display: none !important; } 
menuitem[label="Security"],#masterPasswordBox {display:none!important;}
#tabbrowser-tabs{display: none !important;} 
#bookmarks-menu, #urlbar, #searchbar, #context-bookmarklink, #context-bookmarkpage, #context-openlinkintab { display:none !important; }
#navigator-toolbox menu[label="Bookmarks"] { display: none !important; } 
#toolbar-menubar {display: none !important;}
menubar > menu[disabled="true"] {border: 1px solid transparent !important;}
#appmenu-button { display: none !important; }
//#viewToolbarsMenu menuitem[label="Customise"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customise"] {display: none !important;}

#viewToolbarsMenu menuitem[label="Customize..."], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customize..."], #toolbar-context-menu menuseparator{display: none !important;}

#viewToolbarsMenu menuseparator , #menu_customizeToolbars {display:none!important;}
#viewToolbarsMenu menuitem[label="Navigation Toolbar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Navigation Toolbar"] {display: none !important;}
#viewToolbarsMenu menuitem[label="Menu Bar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Menu Bar"] {display: none !important;}
#viewToolbarsMenu menuitem[label="Bookmarks Toolbar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Bookmarks Toolbar"] {display: none !important;}
#viewToolbarsMenu menuitem[label="Add-on Bar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Add-on Bar"] {display: none !important;}"

as you can see, I have tried a few things to remove the menu option. I had the other menu options shown here (https://db.tt/1BQB4gjQ) so people would be able to know what menu I was talking about.
As it currently stands, the user can still use the customise option, but when the Customise Toolbar is closed, it then greys out the option (https://db.tt/9ky59Hyt) If these options listed above are included in the userChrome.css I an getting this (https://db.tt/JLduNKWF). I am not able to get rid of the customise.
I have basically built a kiosk mode FF without the full screen requirement. This is a very locked down Corp version for only a limited use on a page that runs slow under (that other included browser)

I hope I have included enough information for a quick response, as I have to finish packaging FF soon.

I thank anybody who can help. Cheers

Hi all, this might have been answered already somewhere, but I can't find something that will fix my issue. I need to remove the Customise option from the toolbar context menu. at the moment my userchrome.css looks like this <pre><nowiki>menu[label="Tools"] menuitem[label="Sync Now"],#sync-setup-appmenu,#sync-syncnowitem-appmenu,#sync-setup,#sync-status-button,#BrowserPreferences radio[pane="paneSync"] {display:none!important;} menuitem[label="Bookmarks Toolbar Folder"] { display: none !important; } menuitem[label="Security"],#masterPasswordBox {display:none!important;} #tabbrowser-tabs{display: none !important;} #bookmarks-menu, #urlbar, #searchbar, #context-bookmarklink, #context-bookmarkpage, #context-openlinkintab { display:none !important; } #navigator-toolbox menu[label="Bookmarks"] { display: none !important; } #toolbar-menubar {display: none !important;} menubar > menu[disabled="true"] {border: 1px solid transparent !important;} #appmenu-button { display: none !important; } //#viewToolbarsMenu menuitem[label="Customise"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customise"] {display: none !important;} #viewToolbarsMenu menuitem[label="Customize..."], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customize..."], #toolbar-context-menu menuseparator{display: none !important;} #viewToolbarsMenu menuseparator , #menu_customizeToolbars {display:none!important;} #viewToolbarsMenu menuitem[label="Navigation Toolbar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Navigation Toolbar"] {display: none !important;} #viewToolbarsMenu menuitem[label="Menu Bar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Menu Bar"] {display: none !important;} #viewToolbarsMenu menuitem[label="Bookmarks Toolbar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Bookmarks Toolbar"] {display: none !important;} #viewToolbarsMenu menuitem[label="Add-on Bar"], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Add-on Bar"] {display: none !important;}" </nowiki></pre> as you can see, I have tried a few things to remove the menu option. I had the other menu options shown here (https://db.tt/1BQB4gjQ) so people would be able to know what menu I was talking about.<br /> As it currently stands, the user can still use the customise option, but when the Customise Toolbar is closed, it then greys out the option (https://db.tt/9ky59Hyt) If these options listed above are included in the userChrome.css I an getting this (https://db.tt/JLduNKWF). I am not able to get rid of the customise. <br /> I have basically built a kiosk mode FF without the full screen requirement. This is a very locked down Corp version for only a limited use on a page that runs slow under (that other included browser) I hope I have included enough information for a quick response, as I have to finish packaging FF soon. I thank anybody who can help. Cheers

Modifié le par cor-el

Solution choisie

I had a overwhelming number of responses from everyone, but I managed to find a different wording to the question from someone in another forum.

the response came from http://forums.mozillazine.org/viewtopic.php?f=38&t=2581871

  1. toolbar-context-menu { display: none !important;}
Lire cette réponse dans son contexte 👍 0

Toutes les réponses (1)

more options

Solution choisie

I had a overwhelming number of responses from everyone, but I managed to find a different wording to the question from someone in another forum.

the response came from http://forums.mozillazine.org/viewtopic.php?f=38&t=2581871

  1. toolbar-context-menu { display: none !important;}