We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Firefox 4 push settings for all users

  • 2 odgovora
  • 23 imaju ovaj problem
  • 2 prikaza
  • Posljednji odgovor od 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.

Svi odgovori (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: