Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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 பதிலளிப்புகள்
  • 12 இந்த பிரச்னைகள் உள்ளது
  • 30 views
  • Last reply by treewoods

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

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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)

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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.

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.