为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

mozilla.cfg is not working in esr 60 series

  • 8 个回答
  • 2 人有此问题
  • 65 次查看
  • 最后回复者为 Dwight

more options

Currently I am using ESR 52.7.0 and planning to move to ESR 60.1.0. However, during test I found that Mozilla.cfg file is not read by ESR 60 series but the same is working fine with before ESR 52 series

In ESR 60, the configuration formats has been changed when compare with ESR 52 series. So, Could you please help us how to make customization for Firefox ESR like homepage, app update disable and other settings

Currently I am using ESR 52.7.0 and planning to move to ESR 60.1.0. However, during test I found that Mozilla.cfg file is not read by ESR 60 series but the same is working fine with before ESR 52 series In ESR 60, the configuration formats has been changed when compare with ESR 52 series. So, Could you please help us how to make customization for Firefox ESR like homepage, app update disable and other settings

所有回复 (8)

more options

You are going to have to adapt to changes and also be more specific in the help you need as there is no information given that can help you with.

As to the file, it's changed. Now what ?

more options

I need to make Firefox ESR 60 customized by using mozilla.cfg file which is not happening currently.

I want to run ESR 60 like ESR 52 smoothly. what i need to make changes in config file to make ESR 60 customized ?

more options
what i need to make changes in config file to make ESR 60 customized ?

Please make a list of the changes. Again/still are not providing any information to begin to help you. What customization do you want / need what is lacking/....

https://www.google.com/search?q=firefox+customize+mozilla.cfg+&ie=utf-8&oe=utf-8&client=firefox-b

由Shadow110于修改

more options
more options

The below are few setting which i want to customize for ESR 60 using mozilla.cfg and local settings. All the settings were working fine with till ESR 52 series but not with ESR 60


//Homepage set pref("browser.startup.homepage", "https://google.com");

// Enabbles remembering passwords lockPref("signon.autologin.proxy", true);


// Disables browser search update lockPref("browser.search.update", false);

// Lock preference for auto update lockPref("app.update.enabled", false); lockPref("app.update.service.enabled", false); lockPref("app.update.disable_button.showUpdateHistory", false);

more options

mozilla.cfg should work in Firefox 60 ESR the same way as in Firefox 52. In Firefox 60 you can check the Browser Console for error messages.

See also:

more options

I also have this issue; however, it seems to be limited to installation of ESR-60 (and above) on Windows platforms. With ESR-52.9 (and older) the files which I placed into "Program Files\Mozilla Firefox\defaults\prefs\local-settings.js" and "Program Files\Mozilla Firefox\mozilla.cfg" are able to make settings and lock preferences. The settings which I used in the files are similar to those listed by shekpal. When I use the same files, in the same locations with ESR-60 (and above) installed on Windows 7 or Windows 10, when I open about:config, the settings are either listed as "user set" or "default" and can be changed. That is not desired behavior. I have also placed the same files into installation of ESR-60 (and above) on Linux installations (as "/usr/lib64/firefox/mozilla.cfg" and "/usr/lib64/firefox/defaults/preferences/local-settings.js") and the locked behavior is as desired--about:config shows the settings as locked. I followed the steps in https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig to completely reset and used the names of autoconfig.js and firefox.cfg. I ensured that the first line was a comment. Nothing restored the desired functionality on a Windows system. An additional anomaly which I did find is that if I have "Program Files\Mozilla Firefox\defaults\prefs\local-settings.js" in place without the referenced mozilla.cfg file in place gives these results: Firefox 52.9-ESR displays an error that preferences cannot be found and closes. That is expected behavior. Firefox 60.3-ESR opens without displaying an error.

由Dwight于修改

more options

deleted second comment

由Dwight于修改