Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

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于修改