搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

having trouble getting mozilla.cfg to work

  • 2 回覆
  • 12 有這個問題
  • 29 次檢視
  • 最近回覆由 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

被選擇的解決方法

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.

從原來的回覆中察看解決方案 👍 2

所有回覆 (2)

more options

選擇的解決方法

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.