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

I can't configure mozilla.cfg preferences file

  • 6 balasan
  • 12 ada masalah ini
  • 68 paparan
  • Balasan terakhir oleh FredMcD

more options

I am having trouble configuring mozilla.cfg for Firefox 53 (32/64-bit) on a fresh installation of Windows 7 SP1. I did bring the OS current on patches, and I upgraded .Net 4.5.2 to .Net 4.6.2, updated Silverlight, Office 2013, I'm just trying to anticipate questions, and mention anything that might be relevant.

I thought at first it was an issue with 64-bit, so I installed the 32-bit version on another workstation. The 64-bit Firefox installed in "%programfiles(x86)%" so I put local-settings.js in defaults\pref, and mozilla.cfg in "%programfiles(x86)%\Mozilla Firefox". The settings aren't getting read, however. I have a double-slash in the first line of mozilla.cfg. I have tried just one setting to see if it is being read, but it's not being applied. It's also spelled correctly. When I deliberately rename the file, Firefox says it can't find the config file when it starts. That tells me it can find the config file.

The 32-bit version is identical, except that it installed into "%programfiles%".

I have gone through a number of pages before getting here, but they didn't help. The file is not rot-13, doesn't have a hidden .txt extension, and is saved as ANSI. (I've also tried UTF-8.) Any ideas why I can't set default configurations?

This one is very good. https://www.itsupportguides.com/knowledge-base/tech-tips-tricks/how-to-customise-firefox-installs-using-mozilla-cfg/

http://kb.mozillazine.org/Lock_Prefs http://kb.mozillazine.org/Locking_preferences

I am having trouble configuring mozilla.cfg for Firefox 53 (32/64-bit) on a fresh installation of Windows 7 SP1. I did bring the OS current on patches, and I upgraded .Net 4.5.2 to .Net 4.6.2, updated Silverlight, Office 2013, I'm just trying to anticipate questions, and mention anything that might be relevant. I thought at first it was an issue with 64-bit, so I installed the 32-bit version on another workstation. The 64-bit Firefox installed in "%programfiles(x86)%" so I put local-settings.js in defaults\pref, and mozilla.cfg in "%programfiles(x86)%\Mozilla Firefox". The settings aren't getting read, however. I have a double-slash in the first line of mozilla.cfg. I have tried just one setting to see if it is being read, but it's not being applied. It's also spelled correctly. When I deliberately rename the file, Firefox says it can't find the config file when it starts. That tells me it can find the config file. The 32-bit version is identical, except that it installed into "%programfiles%". I have gone through a number of pages before getting here, but they didn't help. The file is not rot-13, doesn't have a hidden .txt extension, and is saved as ANSI. (I've also tried UTF-8.) Any ideas why I can't set default configurations? This one is very good. https://www.itsupportguides.com/knowledge-base/tech-tips-tricks/how-to-customise-firefox-installs-using-mozilla-cfg/ http://kb.mozillazine.org/Lock_Prefs http://kb.mozillazine.org/Locking_preferences

Diubah oleh david.paige

Penyelesaian terpilih

Can you post the content of the mozilla.cfg file?

You may want to obscure privacy sensitive content.

Baca jawapan ini dalam konteks 👍 1

All Replies (6)

more options

https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save

Note: Some software, like Advanced SystemCare with Surfing Protection, can protect files in the Firefox profile folder against changes. If you have such software then check the settings or uninstall this software.

more options

Penyelesaian Terpilih

Can you post the content of the mozilla.cfg file?

You may want to obscure privacy sensitive content.

more options

So, the local-settings.js file had a non-printable character in it. That blew up the whole thing. Thank you for all of your help and suggestions.

more options

That was very good work. Well done.

more options

I was thrown off track because it appeared to be correctly reading the js file. It could determine where the config file was located, and complain if it was missing. Firefox should have complained about issues with the .js file. It would have saved me a lot of effort.

more options

If you want to leave feedback for Firefox developers, you can go to the Firefox Help menu and select Submit Feedback... or use this link. Your feedback gets collected at http://input.mozilla.org/, where a team of people read it and gather data about the most common issues.