为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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