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

How to force and lock a specific add-on (extension) to be enabled?

  • 2 replies
  • 2 have this problem
  • 1 view
  • Last reply by anitallica

more options

I am looking for a way to push/lock an add-on to be enabled for all users on a machine. I found one way by using the extensions.enabledAddons in the Mozilla.cfg with the function lockPref, but this Forces me to put as value all the add-ons that should be enabled. This may differ from machine to machine..

What I am hoping or looking for is maybe a property of the add-on object, either in the registry, or in a configuration file from Firefox, something where all add-ons from the machine would be listed, and I could somehow force this particular one to have the property set on enabled, and preferably lock it (like locking any about:config Preference from Mozilla.cfg).

Not sure if I succeeded to explain clearly..

I am looking for a way to push/lock an add-on to be enabled for all users on a machine. I found one way by using the extensions.enabledAddons in the Mozilla.cfg with the function lockPref, but this Forces me to put as value all the add-ons that should be enabled. This may differ from machine to machine.. What I am hoping or looking for is maybe a property of the add-on object, either in the registry, or in a configuration file from Firefox, something where all add-ons from the machine would be listed, and I could somehow force this particular one to have the property set on enabled, and preferably lock it (like locking any about:config Preference from Mozilla.cfg). Not sure if I succeeded to explain clearly..

All Replies (2)

more options

Chosen Solution

more options

Thanks! That did the trick.. Scenario 1 in the 2nd link is exactly what I needed. Thanks again for taking the time to help.