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!

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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

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

  • 2 uphendule
  • 2 zinale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu 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

Isisombululo Esikhethiwe

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.