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!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I cannot delete the "customize" button and the command "remove extension" from toolbar, I have found some tutorials but could not make it work

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

I have been trying to delete the command "remove extensions" dfrom the tool bar. I have followed instructions and typed a json file with extensions and "locked" but did not work. I did not understand well how to edit directly group policies. I tried as a last resourse to eliminate the "customise" button with chrome.css file following a tutorial found here but did not work Can anyone help me with this?

I have been trying to delete the command "remove extensions" dfrom the tool bar. I have followed instructions and typed a json file with extensions and "locked" but did not work. I did not understand well how to edit directly group policies. I tried as a last resourse to eliminate the "customise" button with chrome.css file following a tutorial found here but did not work Can anyone help me with this?

All Replies (2)

more options

What are you trying to do in the long run?

more options

Is this only about preventing users to uninstall extensions ?

For userChrome.css you can try this code.

.customize-context-removeExtension,
.customize-context-removeFromToolbar,
.viewCustomizeToolbar {
 display:none!important;
}

I don't know if you can use a policies.json or GPO to disable some of these context menu items.

What code did you try in policies.json ?