proxy settings to use systemwide in firefox

Firefox >3.5 now supports to use “Sytem wide proxy settings” i.e. the ones defined in SystemPreferences – Network. But not as default for all users. How to set as default ? easy.

Edit /Applications/Firefox.app/Contents/MacOS/greprefs/all.js

Add the following to the end:

pref("Network.proxy.type", 5);

Profit !!!!

http://managingosx.wordpress.com/2008/08/18/firefox-default-settings/

http://kb.mozillazine.org/Network.proxy.type