搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.