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!

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

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.

All Replies (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.