搜索 | 用户支持

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

详细了解

Suppress "Allow this installation" page

  • 7 个回答
  • 5 人有此问题
  • 17 次查看
  • 最后回复者为 Sam

more options

I'm trying to deploy an add-on to users in our organization.

I am copying the .xpi file to the users Firefox profile and in the extensions folder.

However, when launching Firefox, a page opens where you have to allow this installation.

Is there some way to suppress this page, or to force the install of this add-on?

I tried looking for an option on the about:config page, but I am yet to find anything. Perhaps I have missed something?

Thanks.

Sam.

I'm trying to deploy an add-on to users in our organization. I am copying the .xpi file to the users Firefox profile and in the extensions folder. However, when launching Firefox, a page opens where you have to allow this installation. Is there some way to suppress this page, or to force the install of this add-on? I tried looking for an option on the about:config page, but I am yet to find anything. Perhaps I have missed something? Thanks. Sam.

被采纳的解决方案

You can try to set (lockPref()) extensions.autoDisableScopes to 0 (zero) to see if that helps.

See also:

Bug 666437 - Allow extensions installed from certain locations to be disabled by default

定位到答案原位置 👍 0

所有回复 (7)

more options

Hello Sam, probably you can't install your extension because in firefox 43+ an extension must be signed to allowed installed in firefox.

Anyway you can change that, i hope, toggle the xpinstall.signatures.required to false in about:config and check it again.

from 47 firefox version and newest versions, Signing will served with no pref to turn off.

useful links :

thank you

more options

Thanks for getting back to me.

The add-on I am trying to install is signed by Mozilla.

I tried toggling that option in about:config, but nothing changes.

I am still receiving the "Allow this installation" page where the user has to check the checkbox and to allow the installation of the add-on.

Thanks.

more options
more options

Hello,

I am still receiving the "Allow this installation" page using the registry method.

I can install the add-on for a new Firefox user profile(however it is disabled for some reason). But the page still displays for existing Firefox profiles.

Thanks.

more options

选择的解决方案

You can try to set (lockPref()) extensions.autoDisableScopes to 0 (zero) to see if that helps.

See also:

Bug 666437 - Allow extensions installed from certain locations to be disabled by default

more options

I found this, but don't understand any of it.

http://kb.mozillazine.org/About:config_entries

Extensions.

extensions. autoDisableScopes

Integer

"Extension scopes" where newly installed addons are disabled by default (Gecko 7 and later since 2011-06-28, see bug 666437). This is an additive bit field:

1 = addons found in this profile (this bit is probably masked off) 2 = addons applying to all profiles of this user 4 = addons applying to all users of this application 8 = addons (e.g. plug-ins) applying to anyone on this computer

Default varies among versions: Undefined (no disabling, as with 0), 10 (all except app-global and user-profile), 15 (all, but does not apply to some specific locations such as IIUC installdir/extensions/ and profiledir/extensions/)

more options

Hello,

Thanks for getting back to me.

I can confirm setting the following Pref works successfully:

lockPref("extensions.autoDisableScopes", 0);

Thanks very much for your help.