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!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

Learn More

Lock extensions/addons

more options

Is it possible to lock Firefox extensions? By locking i mean make the extension inaccessible (prevent disabling it or changing it's settings but having it still work).

https://github.com/mozilla/policy-templates/blob/master/README.md#extensions

Does this "lock" mean what i just described?

{

 "policies": {
   "Extensions": {
     "Locked":  ["jid1-p8wT8wUxc4KaJo@jetpack"]
   }
 }

}

That is in my policies.json file, is this how it's supposed to work since it does nothing for me? I'm not sure if the id is correct, could someone tell me how to find the right one and if this is right, then what's wrong? Thanks in advance.

Is it possible to lock Firefox extensions? By locking i mean make the extension inaccessible (prevent disabling it or changing it's settings but having it still work). [https://github.com/mozilla/policy-templates/blob/master/README.md#extensions https://github.com/mozilla/policy-templates/blob/master/README.md#extensions] Does this "lock" mean what i just described? { "policies": { "Extensions": { "Locked": ["jid1-p8wT8wUxc4KaJo@jetpack"] } } } That is in my policies.json file, is this how it's supposed to work since it does nothing for me? I'm not sure if the id is correct, could someone tell me how to find the right one and if this is right, then what's wrong? Thanks in advance.

所有回覆 (6)

more options

That page says: "Locked is a list of extension IDs that the user cannot disable or uninstall." I don't think that prevents changing its settings.

To find the id's of your installed and enabled extensions, you can use the about:debugging page (type or paste that internal address to the address bar and press Enter to load it, then click This Firefox in the left column).

To find the id's of all installed extensions, you can use the Troubleshooting Information page, Add-ons table. Either:

  • "3-bar" menu button > Help > More Troubleshooting Information
  • (menu bar) Help > More Troubleshooting Information
  • type or paste about:support in the address bar and press Enter
more options

Thank you. Now it works, i can't disable or uninstall it but i can still disable it from it's settings.

Do you know any way to make the extension inaccessible altogether or is it just not possible?

more options

I have never researched how to force extensions on people, no.

more options

Ok, thanks anyway :).

more options
more options

Thank you. I was able to disable the menu (three horizontal lines) and the overflow menu, so currently i don't think there's any way to access the extensions without changing the files.