Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Firefox management




On Jan 18, 2008, at 3:05 PM, Steven Kolins wrote:

The problem is that Firefox doesn't use the system proxy settings.

Is there another solution? I found an extension that allows using the system
settings but it's hardly an official extension if there is one. I saw some
programmer notes from someone about Mozilla but don't see evidence of that
though her comments were back in 2006....


This is where the extension comes from

http://blog.curthread.org/projects/systemproxy

What are other people using to help manage proxy settings?

If you have the above then you can use the command line tools through ARD to
manage both....

I have adapted this from http://mit.edu/~firefox/www/maintainers/autoconfig.html . The following setup will enable you to create a Firefox package that will enable centrally managed preferences. Once you make these changes you can copy the modified Firefox app to the computers you want to manage.


To be able to centrally manage preferences for Firefox you need to do the following 3 steps.

1. you need to change /Applications/Firefox/Contents/MacOS/greprefs/ all.js to have the following lines. The Firefox config files are parsed top down with the last change winning if there is a conflict.

pref("general.config.obscure_value", 0); // takes out ROT-13 encoding on config file
pref("general.config.filename", "firefox.cfg"); //points to the config file that you create


2. you need to make a file in /Applications/Firefox/Contents/MacOS/ firefox.cfg which should contain the following:

//setting prefs to read from web server

try {

lockPref("autoadmin.global_config_url","http://fqdn.for.your.web.server/path to/autoconf.js"); // points to config file on web server
lockPref("autoadmin.append_emailaddr",false); //doesn't append the username of the user. Change to true if you want per user prefs.


} catch(e) {
  displayError("lockedPref", e);
}

3. Next you need to create the config file on your server. In my case I called it autoconf.js which looks like:

// Auto Config prefs for Firefox
// save at fqdn.for.your.web.server/path to/autoconf.js

try {

// locked prefs

lockPref("browser.startup.homepage", "fqdn.default.homepage");
lockPref("browser.startup.homepage override.mstone", "ignore");
lockPref("browser.startup.page", 1);
lockPref("browser.formfill.enable", false);
lockPref("signon.prefillForms", false);
lockPref("signon.rememberSignons", false);

} catch(e) {
  displayError("lockedPref", e);
}

Misc:
The above are some examples from my config for Firefox. You can manage any preference you want. To get the preference name and the current setting in the URL field for Firefox enter "about:config" no quotes and press return.


I have been using this for about 8 months not without any issues. If you need to change any setting in Firefox you just edit the config file on your web server.

Hope that helps!  Let me know if you have any problems.

- Barrett Hartman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/client-management/email@hidden

This email sent to email@hidden
References: 
 >Firefox management (From: Steven Kolins <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.