搜尋 Mozilla 技術支援網站

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

Learn More

How to remove Customize option in the toolbar with userChrome.css?

  • 2 回覆
  • 13 有這個問題
  • 25 次檢視
  • 最近回覆由 pisces

more options

I'm trying to remove "Customize…" option from the View menu and from toolbar. I use following code in userChrome.css: #viewToolbarsMenu menuitem[label="Customize..."], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customize..."], #toolbar-context-menu menuseparator{ display: none !important; }.... I tied many other different things but it doesn't work.

I'm trying to remove "Customize…" option from the View menu and from toolbar. I use following code in userChrome.css: #viewToolbarsMenu menuitem[label="Customize..."], #viewToolbarsMenu menuseparator, #toolbar-context-menu menuitem[label="Customize..."], #toolbar-context-menu menuseparator{ display: none !important; }.... I tied many other different things but it doesn't work.

所有回覆 (2)

more options

Be aware the '...' are not three dots but that it is an ellipsis (…)

Try:

#viewToolbarsMenu menuseparator , #menu_customizeToolbars {display:none!important;}
more options

Yes I didn't use dots... still didn't work :-( and I tried your example and it didn't work either :-(... did it work for you?

由 pisces 於 修改