Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

Learn More

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

Preconfigure Firefox 4

  • 6 válasz
  • 25 embernek van ilyen problémája
  • 3 megtekintés
  • Utolsó üzenet ettől: palombo

more options

Hello,

until yet, we preconfigured FF in defaults/pref/firefox.js for our users.

Today I downloaded FireFox 4. But this version doesn't have the firefox.js any more. If I place my old file at the location where it was bevore and most of the options are recognized and working. But some are not.

I set/unset this options and watched the changes in prefs.js in my user profile. The name of the options/parameters are still the same. But they doesn't seem to be used from the firefox.js any more.

Examples are: pref("app.update.enabled", false); pref("browser.search.update", false); pref("privacy.clearOnShutdown.cookies", true);

What is the new way to preconfigure FireFox 4 for all users?

Hello, until yet, we preconfigured FF in defaults/pref/firefox.js for our users. Today I downloaded FireFox 4. But this version doesn't have the firefox.js any more. If I place my old file at the location where it was bevore and most of the options are recognized and working. But some are not. I set/unset this options and watched the changes in prefs.js in my user profile. The name of the options/parameters are still the same. But they doesn't seem to be used from the firefox.js any more. Examples are: pref("app.update.enabled", false); pref("browser.search.update", false); pref("privacy.clearOnShutdown.cookies", true); What is the new way to preconfigure FireFox 4 for all users?

Összes válasz (6)

more options

See:


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

Módosította: cor-el,

more options

But ... I would like just to inialize, not to lock. What way to do this ?

Thank for your help.

Ludovic.

more options

Finaly I just change "lockPref" by "pref" ! And it works fine.

more options

@Ludovic: Where did you do the change? In "about:config"? The options you can set there are profile based only.

What is needed is a ***simple*** way to (p)reconfigure a Firefox 4 installation as in:

  • Run Firefox-Installer
  • Copy settings-file somewhere
  • have your default settings as a base for all profiles created

???

Módosította: cherdeg,

more options

BTW.:

A file "firefox.js" put into "%ProgramFiles%\Mozilla Firefox\defaults\pref" does NOT do this job. The entries made there are:

  • pref("network.proxy.share_proxy_settings", true); // use the same proxy settings for all protocols
  • pref("network.proxy.autoconfig_url"; "http://server/proxy.pac");
  • pref("network.proxy.type"; 2);

Módosította: cherdeg,

more options

On Linux Firefox 4, go to main install on firefox/defaults and create a dir called preferences (there is one dir called pref, but ignore it). Create the file prefs.js inside this dir

cd firefox/defaults; mkdir preferences; cd preferences; vi prefs.js;

Add your preferences like:

pref("app.update.enabled", false);

Restart firefox

Módosította: palombo,