Suppress "Allow this installation" page
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.
Chosen solution
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
Read this answer in context 👍 0All Replies (7)
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
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.
My mistake.... :-)
see : Adding Extensions using the Windows Registry
https://developer.mozilla.org/en-US/Add-ons/Extension_Packaging
thanks
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.
Chosen Solution
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
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/)
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.