搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Preconfigured Deployment

  • 5 回覆
  • 5 有這個問題
  • 6 次檢視
  • 最近回覆由 cherdeg

more options

Hi,

I've got the order to deploy FF4 to our desktop/notebooks machines asap. Required features are:

  1. Preconfigured and locked connection settings (proxy type 2 with autoconfig URL)
  2. Disabled about:config
  3. Disabled browser updates
  4. Disabled extension / plugin updates

Also we have the requirement to set these settings to new AND already existing profiles.

Modifying "omni.jar" is not an option. I can use commandline switches to install FF4 and copy files into the installation folder. Copying something to %USERPROFILE% is not possible atm.

How to easily implement this?

Please help,

Best Regards Mike

Hi, I've got the order to deploy FF4 to our desktop/notebooks machines asap. Required features are: # Preconfigured and locked connection settings (proxy type 2 with autoconfig URL) # Disabled about:config # Disabled browser updates # Disabled extension / plugin updates Also we have the requirement to set these settings to new AND already existing profiles. Modifying "omni.jar" is not an option. I can use commandline switches to install FF4 and copy files into the installation folder. Copying something to %USERPROFILE% is not possible atm. How to easily implement this? Please help, Best Regards Mike

所有回覆 (5)

more options

You can use a mozilla.cfg file to lock prefs or specify default values.
You can place a file local-settings.js in the defaults\pref folder to specify using mozilla.cfg.

You can use these functions in mozilla.cfg:

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

To prevent users from installing software use:

lockPref("xpinstall.enabled" ,false);

See:


If you need to initialize other files in a new profile then you can create a \defaults\profile\ template folder.

more options

Hi,

thanks so far: doesn't work. Here my files, maybe you see what's wrong...

%PROGRAMFILES%\Mozilla Firefox\defaults\pref\local-settings.js:
//
pref("general.config.filename", "mozilla.cfg");

%PROGRAMFILES%\Mozilla Firefox\mozilla.cfg:
//
pref("network.proxy.share_proxy_settings", true); // use the same proxy settings for all protocols
pref("network.proxy.autoconfig_url"; "http://themis/proxy.pac");
pref("network.proxy.type"; 2);

pref("browser.search.update", false);
pref("app.update.enabled", false);
pref("extensions.update.enabled", false);

lockPref("xpinstall.enabled" ,false);

Proxy-Settings aren't set, XPI installs are still possible...why?

由 cherdeg 於 修改

more options

cor-el...are you still alive?

more options

Sorry, I had missed your previous response.

Are you using a rotate 13 encoding for the mozilla.cfg file?

If not then you need to add this line to the local-settings.js file to override the ROT13.

pref("general.config.obscure_value", 0);
more options

Sorry - I've been on holiday since. I'll test this and report back tomorrow.