Forum Home
Press F1
 
Thread ID: 109976 2010-05-30 03:11:00 Firefox config file problems jwil1 (65) Press F1
Post ID Timestamp Content User
889280 2010-05-30 03:11:00 Hi all,

I'm currently trying to push out a Firefox MSI file to our organisation. I need to put some proxy settings that are automatically set when installed.

I've extracted the MSI and found some info in the config file \Mozilla Firefox\defaults\pref\firefox.js and I put in the right proxies (see below) and the type (manual, auto, none etc - I want manual).

When I install the MSI it sets the right proxy IP address, but sets the wrong type (sets 'No proxy' but the IP address for the proxy is there (www.imagef1.net.nz)). This web page from Mozilla (developer.mozilla.org) tells me that for a manual proxy network.proxy.type should be set to 1 - which it is.

Below is the list of changes I've made to my firefox.js file:



pref("network.proxy.backup.ftp", "");
pref("network.proxy.backup.ftp_port", 0);
pref("network.proxy.backup.gopher", "");
pref("network.proxy.backup.gopher_port", 0);
pref("network.proxy.backup.socks", "");
pref("network.proxy.backup.socks_port", 0);
pref("network.proxy.backup.ssl", "");
pref("network.proxy.backup.ssl_port", 0);
pref("network.proxy.ftp", "120.28.50.14");
pref("network.proxy.ftp_port", 8080);
pref("network.proxy.gopher", "120.28.50.14");
pref("network.proxy.gopher_port", 8080);
pref("network.proxy.http", "120.28.50.14");
pref("network.proxy.http_port", 8080);
pref("network.proxy.share_proxy_settings", true);
pref("network.proxy.socks", "120.28.50.14");
pref("network.proxy.socks_port", 8080);
pref("network.proxy.ssl", "120.28.50.14");
pref("network.proxy.ssl_port", 8080);
pref("network.proxy.type", 1);
pref("browser.shell.checkDefaultBrowser", false);


Any ideas as to why it's not picking up network.proxy.type ? :help:
jwil1 (65)
889281 2010-05-30 03:27:00 have you tried "1" ? nedkelly (9059)
889282 2010-05-30 04:13:00 Yes I have

I have fixed it though, it was importing the IE proxy (in my testing it was no proxy) and thus cleared the Firefox one. I clicked 'Don't import anything' on the first run wizard and all is well.
jwil1 (65)
1