搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 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..

所有回复 (2)

more options

选择的解决方案

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.