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 replies
  • 12 have this problem
  • 17 views
  • Last reply by 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

Chosen solution

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.

Read this answer in context 👍 2

All Replies (2)

more options

Chosen Solution

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.