[wpkg-users] Firefox and proxy settings
Falko Trojahn
nospam_ft at smi-softmark.de
Tue Mar 10 10:10:11 CET 2009
Hi again,
> in the wiki, in order to put proxy servers automatically in firefox, you had to put two file, "all.js" and "mozilla.cfg"
>
> (see http://wpkg.org/Firefox#Locking_user_preferences_.2F_Firefox_settings_for_all_users_.28like_proxy_etc..29 )
>
> but it don't tell how to put these commands in the package.xml
>
> can you tell me how to do this?
>
Just updated
http://wpkg.org/Firefox#Firefox_with_extensions_and_default_profile
to Firefox 3.
For proxy distribution you should have at least the following in
packages/mozilla/fx_profile/defaults/profile/prefs.js:
// ### Proxy Settings ###
// Configure Proxies to Access the Internet
// 0 = direct 1 = manual 2 = PAC 3 -> mapped to 0 4 = Auto-detect
proxy settings for this network
user_pref("network.proxy.type", 1);
// <Protocol> Proxy: hostname or IPv4 is acceptable. IPv6 needs to
be tested.
// Port: 0 will cause server:port preference for that manual proxy
type to be ignored. 1-65xxx is valid range
user_pref("network.proxy.http", "proxy");
user_pref("network.proxy.http_port", 3128);
user_pref("network.proxy.ssl", "proxy");
user_pref("network.proxy.ssl_port", 3128);
user_pref("network.proxy.ftp", "proxy");
user_pref("network.proxy.ftp_port", 3128);
user_pref("network.proxy.gopher", "proxy");
user_pref("network.proxy.gopher_port", 3128);
user_pref("network.proxy.socks", "");
user_pref("network.proxy.socks_port", 0);
// Socks Version: 4 | 5 (default)
user_pref("network.proxy.socks_version", 5);
// Comma-separated list of site or IP ranges where proxy server
should be bypassed
user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
// URL specifying where to find the autoproxy config file. Default:
Empty
user_pref("network.proxy.autoconfig_url", "");
user_pref("network.proxy.share_proxy_settings", false);
// externes ftp programm
//user_pref("network.protocol-handler.external.ftp", true);
//user_pref("network.protocol-handler.app.ftp", "c:\...\...ftp.exe");
If needed, the use and configuration of extension xyzproxy or
switchproxy is possible, too.
Best regards and good luck,
Falko
More information about the wpkg-users
mailing list