Built for Firefox configuration workflows · Free browser-based tools

Mozilla.cfg Example: Firefox AutoConfig Starter File

Copy a minimal mozilla.cfg example and learn how to generate the matching Firefox AutoConfig loader.

Overview

A minimal mozilla.cfg file can use lockPref and defaultPref calls to control Firefox preferences. It is JavaScript, not a generic INI file.

How it works

Example: // Firefox AutoConfig followed by defaultPref("browser.startup.page", 1);. For plain text, the loader sets pref("general.config.obscure_value", 0);.

Important considerations

Use the AutoConfig Generator to create a complete starter package, then verify it in your target Firefox version.

Related CFG tools

Open Mozilla CFG Decoder · CFG Encoder · AutoConfig Generator

See also Mozilla Enterprise documentation.