staples Posted May 10, 2005 Share Posted May 10, 2005 I did a search and did not find anything on MSFN. I know that there are other topics for Firefox but they do not have this level of detail. I am working on a centralizing the configuration settings for firefox via a script on a webserver and I am running into a issue. The configurations comes down for the first time but if the configuration file changes on the web server then the change does not occur on the cleint. does anyone else have firefox 1.03 configed like this?do you have the same issue?How to configure firefox to use a web server script for configuration:------change C:\Program Files\Mozilla Firefox\greprefs\all.js lockpref("general.config.obscure_value", 0); // for MCD .cfg fileslockpref("general.config.filename", "firefox.cfg");lockpref("general.config.vendor", "firefox");------ (add filename and vendor line, change obscure_value)------New file C:\Program Files\Mozilla Firefox\firefox.cfg// firefox.cfglockPref("general.config.vendor", "firefox");lockPref("autoadmin.global_config_url","http://webserver/firefox.js");lockPref("autoadmin.append_emailaddr",false);------------New file at http://webserver/firefox.js// Mozilla User Preferencestry { lockPref("network.proxy.ftp", "proxy"); lockPref("network.proxy.ftp_port", 80); lockPref("network.proxy.http", "proxy"); lockPref("network.proxy.http_port", 80); lockPref("network.proxy.ssl", "proxy"); lockPref("network.proxy.ssl_port", 80); lockPref("network.proxy.type", 1); lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1"); lockPref("startup.homepage_override_url", "http://homepage/");lockPref("browser.startup.homepage", "http://homepage/");lockPref("browser.startup.homepage_override", true);lockPref("browser.startup.homepage_override.mstone", "rv:1.7"); } catch(e){ displayError("lockedPref", e); } ------ Link to comment Share on other sites More sharing options...
staples Posted May 10, 2005 Author Share Posted May 10, 2005 I fix my own issue... i did not put the the excludion for the webserver. so it would only work once.change line lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1"); to lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, webserver"); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now