Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.