搜索 | 用户支持

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

详细了解

Firefox 4 push settings for all users

  • 2 个回答
  • 23 人有此问题
  • 21 次查看
  • 最后回复者为 cor-el

more options

In firefox 3 i used a file called greprefs\all-company.js to push new settings to all our firefox users. This worked. Now is the question is how to do this in firefox 4? I need to change about:config lines for about 100 firefox users.

In firefox 3 i used a file called greprefs\all-company.js to push new settings to all our firefox users. This worked. Now is the question is how to do this in firefox 4? I need to change about:config lines for about 100 firefox users.

所有回复 (2)

more options

I'm on Windows7 and the config file appears to have been moved into my AppData folder.

c:\Users\[username]\AppData\Roaming\Mozilla\Firefox\Prifiles\0geepmuw.default\prefs.js

I anyone can figure out what needs to be done to push this out for users, that would be awesome!

more options

You can use a file mozilla.cfg to set the default values of prefs or lock them to prevent users from changing them.

You can place that local-settings.js file to specify that you want to use mozilla.cfg in defaults\pref directory.

pref("general.config.obscure_value", 0); // needed if you do not want to use byte shifting
pref("general.config.filename", "mozilla.cfg");


Copy the file local-settings.js to: C:\Program Files\Mozilla Firefox\defaults\pref

You can use these functions in mozilla.cfg :

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

See: