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!

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

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

  • 2 одговорa
  • 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