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!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

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.