We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 2 svar
  • 13 har detta problem
  • 25 visningar
  • Senaste svar av 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.

Alla svar (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?

Ändrad av pisces