Built for Firefox configuration workflows · Free browser-based tools

What Is mozilla.cfg? Firefox AutoConfig File Explained

Understand what mozilla.cfg does, where Firefox loads it, and how it relates to autoconfig.js.

Overview

mozilla.cfg is a JavaScript-based configuration file used by Firefox AutoConfig. It is not the same as mozconfig, which is used for building Firefox.

How it works

Firefox AutoConfig uses a loader file, commonly autoconfig.js, to identify the configuration file. The loader sets general.config.filename and can set general.config.obscure_value to 0 for plain text.

Important considerations

Always test your configuration in a separate Firefox installation before deploying it to managed machines.

Related CFG tools

Open Mozilla CFG Decoder · CFG Encoder · AutoConfig Generator

See also Mozilla Enterprise documentation.