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!

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Learn More

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

  • 2 respostas
  • 2 têm este problema
  • 1 visualização
  • Última resposta de 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..

Todas as respostas (2)

more options

Solução escolhida

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.