Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

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

了解更多

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 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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?

所有回覆 (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 ?