MozillaZine

Where does Firefox store proxy settings?

Discussion of general topics about Mozilla Firefox
Ingo Huber

User avatar
 
Posts: 17
Joined: July 5th, 2004, 3:56 am

Post Posted July 8th, 2004, 10:33 pm

Hi,

I use matirx empirum to do software installations over network. I made a firefox package, that works quite well. Now, I have to change proxy settings, and therefore I need to know where firefox stores this information.

Has anyone an idea?

HubarttMeister
 
Posts: 3
Joined: July 8th, 2004, 11:33 pm
Location: Wherever the Company Wants

Post Posted July 8th, 2004, 11:39 pm

Ingo,


Look for perfs.js....should be in your FireFox user profile...

In the perfs.js, once you set the proxy information, it sets the following entries(nnn.nnn.nnn.nnn used to protect the innocent)....

user_pref("network.proxy.ftp", "nnn.nnnn.nnn.nnn");
user_pref("network.proxy.ftp_port", 80);
user_pref("network.proxy.gopher", "nnn.nnn.nnn.nnn");
user_pref("network.proxy.gopher_port", 80);
user_pref("network.proxy.http", "nnn.nnn.nnn.nnn");
user_pref("network.proxy.http_port", 80);
user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
user_pref("network.proxy.socks", "nnn.nnn.nnn.nnn");
user_pref("network.proxy.socks_port", 80);
user_pref("network.proxy.ssl", "nnn.nnn.nnn.nnn");
user_pref("network.proxy.ssl_port", 80);
user_pref("network.proxy.type", 1);
There are no problems....Just opportunities to beat your head into the wall...

Ingo Huber

User avatar
 
Posts: 17
Joined: July 5th, 2004, 3:56 am

Post Posted August 31st, 2004, 6:32 am

Do you mean prefs.js? If used as a template, should it be stored in ../defaults/pref/prefs.js?

HubarttMeister
 
Posts: 3
Joined: July 8th, 2004, 11:33 pm
Location: Wherever the Company Wants

Post Posted August 31st, 2004, 9:35 am

Ingo,

Ingo Huber wrote:Do you mean prefs.js? If used as a template, should it be stored in ../defaults/pref/prefs.js?


The Perfs.js file, for WindoesXP, is in C:\Documents and Settings\<UserName>\Application Data\Mozilla\Firefox\Profiles\<Random Folder Name>. Not sure where other OS's put it.

It seems that each user has their own proxy information, which following the MS approach makes sense(I guess...).

In your FF package, you could modify the default Perfs.js located in the application directory defaults\profile. That way when a new user starts FF they should have the correct proxy information.

Not sure there is a good way to deal with any prior installations(if you have any) short of deleteing the Mozillia entry in each users "Documents and Settings" or visiting each PC to make the modification or copying a default Perfs.js from a shared area to "Documents and Settings" or...(rambling....rambling...rambling)


Have Fun....
There are no problems....Just opportunities to beat your head into the wall...

Return to Firefox General


Who is online

Users browsing this forum: No registered users and 3 guests