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

having trouble getting mozilla.cfg to work

  • 2 balasan
  • 12 ada masalah ini
  • 17 paparan
  • Balasan terakhir oleh treewoods

more options

I keep getting failed to read mozilla.cfg error. i have local-settings saved in default/pref and it contains: pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); then i have a plain text mozila.cfg file saved in the same place and in the base mozilla folder it only contains the following: // set Firefox Default homepage defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://www.yahoo.com");

I have also tried a different version with: pref("browser.startup.homepage", http://www.yahoo.com);

some help would be much apprecated

I keep getting failed to read mozilla.cfg error. i have local-settings saved in default/pref and it contains: pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); then i have a plain text mozila.cfg file saved in the same place and in the base mozilla folder it only contains the following: // set Firefox Default homepage defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://www.yahoo.com"); I have also tried a different version with: pref("browser.startup.homepage", http://www.yahoo.com); some help would be much apprecated

Penyelesaian terpilih

A "failed to read mozilla.cfg error" means that either Firefox doesn't find the mozilla.cfg or the file has an error.

Make sure mozilla.cfg is a CFG file and doesn't have a hidden .txt file extension. The .js file in "defaults/pref" is working because otherwise Firefox wouldn't search for mozilla.cfg, but you can still try to add a comment line (//) at the start of the file like you have in mozilla.cfg.

Baca jawapan ini dalam konteks 👍 2

All Replies (2)

more options

Penyelesaian Terpilih

A "failed to read mozilla.cfg error" means that either Firefox doesn't find the mozilla.cfg or the file has an error.

Make sure mozilla.cfg is a CFG file and doesn't have a hidden .txt file extension. The .js file in "defaults/pref" is working because otherwise Firefox wouldn't search for mozilla.cfg, but you can still try to add a comment line (//) at the start of the file like you have in mozilla.cfg.

more options

thanks so much. i kept seeing everywhere that the mozila.cfg file was just an example name and that it should be saved as a plain .txt file. thanks again.