Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Removing mozilla.cfg changes prefs.js

  • 2 ответа
  • 2 имеют эту проблему
  • 4 просмотра
  • Последний ответ от cor-el

more options

Hello,

I set up Firefox setting using the mozilla.cfg, and local-settings.js file. Launch Firefox, and everything is the way I wanted it. I exit Firefox, remove Mozilla.cfg, and local-settings.js. Relaunch Firefox and the settings do not hold and the prefs.js file pretty much goes back to default. Somewhere something is still looking for the cfg file and when it does not find it it resets things it appears.

Could anyone point me to where the file lives that I need to edit to allow the setting to keep once the cfg file and local-settings.js are removed to hold the settings originally made in the cfg file?

Thank You in Advance

Hello, I set up Firefox setting using the mozilla.cfg, and local-settings.js file. Launch Firefox, and everything is the way I wanted it. I exit Firefox, remove Mozilla.cfg, and local-settings.js. Relaunch Firefox and the settings do not hold and the prefs.js file pretty much goes back to default. Somewhere something is still looking for the cfg file and when it does not find it it resets things it appears. Could anyone point me to where the file lives that I need to edit to allow the setting to keep once the cfg file and local-settings.js are removed to hold the settings originally made in the cfg file? Thank You in Advance

Все ответы (2)

more options

hi, the autoconfig files are not supposed to be removed - they override the users' preferences set in prefs.js...

more options

What pref function do you use in mozilla.cfg?

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value, requires special data: format for localized prefs
pref();	// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See also Configuration:

You can consider to use user.js in the profile folder to initialize prefs if you do not want to use mozilla.cfg.