user_pref(“network.proxy.http”, “127.0.0.1″);
user_pref(“network.proxy.http_port”, 8080);
user_pref(“network.proxy.ssl”, “127.0.0.1″);

user_pref(“network.proxy.ssl_port”, 8080);
user_pref(“network.proxy.type”, 1);

Buy me a beer