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

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

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

Подробнее

Change about:config settings via mac terminal

  • 2 ответа
  • 1 имеет эту проблему
  • 30 просмотров
  • Последний ответ от docwisdom

more options

Hello,

I administer over 140 mac computers, all with firefox installed. Unfortunately it seems like a daily occurance when a user calls and says that firefox is bugging them to update, which they cant because they are not admin accounts. Now I use apple remote desktop to turn off auto-update for a lot of other applications like software update, microsoft office, and adobe. Unfortunately since firefox doesnt use a standard plist file on the mac I cant use default to write the preference remotely. Question: Is there a way to write to the firefox config via command line so I can turn off auto-update in mass instead of having to touch each computer and make the change in the GUI?


thanks!

Hello, I administer over 140 mac computers, all with firefox installed. Unfortunately it seems like a daily occurance when a user calls and says that firefox is bugging them to update, which they cant because they are not admin accounts. Now I use apple remote desktop to turn off auto-update for a lot of other applications like software update, microsoft office, and adobe. Unfortunately since firefox doesnt use a standard plist file on the mac I cant use default to write the preference remotely. Question: Is there a way to write to the firefox config via command line so I can turn off auto-update in mass instead of having to touch each computer and make the change in the GUI? thanks!

Выбранное решение

Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.

Place a file local-settings.js in the defaults/pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes

lockPref("app.update.enabled", false);
Прочитайте этот ответ в контексте 👍 0

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

more options

Выбранное решение

Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.

Place a file local-settings.js in the defaults/pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes

lockPref("app.update.enabled", false);
more options

cheers,

looks like it will work. I will give it a go first thing monday!