搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how do I hide/remove the customise menu

  • 1 回覆
  • 1 有這個問題
  • 24 次檢視
  • 最近回覆由 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

由 cor-el 於 修改

被選擇的解決方法

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;}
從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

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;}