Set all Extensions enabled

Post Reply
Posts: 1
Joined: Wed Feb 04, 2015 11:02 am

Set all Extensions enabled

Post by ChriPa » Wed Feb 04, 2015 11:43 am

Hello everyone,

I built a msi file and included the following extenions:


Afterwards I installed the msi file on a test system. Everything works fine and all extensions are available under settings->addons. But all a disabled and I want that all extensions a enabled from the beginning. Its not okay to deploy firefox to > 20 computers and users have to enabled all extensions by theirselves.

For Adblock Plus I found a way to set is enabled via the mozilla.cfg file and the Firefox Packager V2 -> CFG Addition tab:

pref("extensions.adblockplus.enabled", true);
pref("extensions.adblockplus.frameobjects", true);

I tried this for the other extensions, but it didn't work:
pref("extensions.enabledAddons", true);

Maybe someone of you know how to enable all extensions via mozilla.cfg or another way.

Posts: 3
Joined: Tue Feb 24, 2015 8:43 am

Re: Set all Extensions enabled

Post by simona » Tue Feb 24, 2015 8:48 am

Posts: 6
Joined: Thu Apr 02, 2015 7:27 am

Re: Set all Extensions enabled

Post by Loktai » Thu Apr 16, 2015 8:12 am

For this you need to create a user.js file and create entries for each plugin you want enabled.
you then pop that into the default profile path Browser/default/profile

The setting you need is plugin.state.<plugindllname> - set the value to 2

For example to force the Adobe PDF plugin to enabled the dll name is nppdf.dll
setting = plugin.state.nppdf (Note the .dll is missing off the end)
vale = 2

You can find the details on each plugin using about:addons

I tried setting this in the registry directly, but it didn't apply until the user had manually interacted with the settings, then it applied and locked it to always on. This is why you must use the user.js file, as this is set 'as the user' and removes the need for user interaction.

User avatar
Site Admin
Posts: 1218
Joined: Thu Oct 30, 2003 11:47 pm
Location: Texas

Re: Set all Extensions enabled

Post by DraconPern » Fri Apr 17, 2015 1:51 pm

Just to note that setting default profile won't work for existing users. Settings things in Firefox Packager V2 -> CFG Addition tab is the right way, the problem is finding the right setting because it seems to be plug-in dependent.
FrontMotion Lead Developer

Post Reply