Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Where can I find a complete list of options for mozilla.cfg file ?

more options

For enterprise management of Firefox on 300+ Macs (10.6.8) via the mozilla.cfg file (as described here: https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment), where can I find a complete list of options for this file? The link above has some resources for mozilla.cfg's available options, but the resources are limited. I am looking for a complete list.

For enterprise management of Firefox on 300+ Macs (10.6.8) via the mozilla.cfg file (as described here: https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment), where can I find a complete list of options for this file? The link above has some resources for mozilla.cfg's available options, but the resources are limited. I am looking for a complete list.

All Replies (5)

more options

If you mean a complete list documenting all the preferences recognized by Firefox, I don't think there is such a list anywhere. Preferences change regularly, and if you've ever looked at about:config, you know that would be an enormous project to build and maintain.

Actually, the mozillaZine knowledge base has pages on many of the most frequently modified preferences. If you search for the name of one in Google or your favorite search site, their pages are likely to come up for reference.

Or the source files may have enough detail to recognize ones that might be relevant. For example: https://dxr.mozilla.org/mozilla-central/source/modules/libpref/init/all.js

Is there anything in particular you're looking for?

Modified by jscher2000 - Support Volunteer

more options

Yes, there are two things I need to do with the mozilla.cfg file: 1) Set all plug-ins to ALWAYS ACTIVATE so that they always work (so that they are never blocked or deactivated), 2) Prevent/halt/stop any updates from occurring including Firefox and all of its plugins.

For item 1, I don't know what the solution is.

For item 2, I guess the solution is: // Disable updater lockPref("app.update.enabled", false); // make absolutely sure it is really off lockPref("app.update.auto", false); lockPref("app.update.mode", 0); lockPref("app.update.service.enabled", false);

Thank you for your support.

more options

For #1, the preference plugin.default.state could be changed from 1 (ask to activate) to 2 (always activate). However, I didn't test that on my own Firefox to avoid messing everything up.

I suspect that doesn't affect plugins a user already set to Never Activate. But is that something you would want to override?

Also, if a plugin goes on the Mozilla block list for security reasons, that almost certainly would override the default.

If you are interested in particular plugins, you can see those in about:config by filtering for plugin.state -- I don't know the naming convention here, it's not so obvious which are which...

more options

You can make the changes in a Firefox profile to see what prefs are affected and copy these lines from the prefs.js file to the mozilla.cfg file as lockPref() calls. This file can contain valid JavaScript as well, so you can do a lot more besides locking prefs.

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See also:

more options

Thank you. That's useful. Much appreciated.