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

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

I can't configure mozilla.cfg preferences file

  • 6 odgovorov
  • 12 ima to težavo
  • 51 ogledov
  • Zadnji odgovor od 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

Spremenil david.paige

Izbrana rešitev

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

You may want to obscure privacy sensitive content.

Preberite ta odgovor v kontekstu 👍 1

Vsi odgovori (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

Izbrana rešitev

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.