how do I hide/remove the customise menu
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
Diperbarui oleh cor-el pada
Solusi terpilih
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
- toolbar-context-menu { display: none !important;}
Semua Balasan (1)
Solusi Terpilih
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
- toolbar-context-menu { display: none !important;}