This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

How can set the path to config-file mozilla.cfg on local disk or on lan?

more options

I use autoconf.js in path .../Mozilla Firefox/defaults/pref/ with

pref("general.config.obscure_value", 0); pref("general.config.filename","mozilla.cfg");

But i want to use lan or local path for mozilla.cfg. Like this "D:/mozilla.cfg" etc.

When i start firefox with this autoconf.js

pref("general.config.obscure_value", 0); pref("general.config.filename","C:/Program Files/Mozilla Firefox/defaults/pref/mozilla.cfg");

It returns error with mozilla.cfg

I use autoconf.js in path .../Mozilla Firefox/defaults/pref/ with pref("general.config.obscure_value", 0); pref("general.config.filename","mozilla.cfg"); But i want to use lan or local path for mozilla.cfg. Like this "D:/mozilla.cfg" etc. When i start firefox with this autoconf.js pref("general.config.obscure_value", 0); pref("general.config.filename","C:/Program Files/Mozilla Firefox/defaults/pref/mozilla.cfg"); It returns error with mozilla.cfg

All Replies (1)

more options

Hi,

You don't have to set the path. Please see this. mozilla.cfg has to be placed in the Firefox installation directory, and local-settings.js inside installation directory\defaults\pref. If you are running Firefox on a LAN from a single installation then this needs to be done only on the PC where Firefox is installed.