Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 2 svar
  • 2 har detta problem
  • 1 visning
  • Senaste svar av 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..

Alla svar (2)

more options

Vald lösning

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.