// Automatic Proxy Configuration Script - Multiple ISPs
function FindProxyForURL(url, host)
{
if (isPlainHostName(host) || dnsDomainIs(host, ".ee")) // no proxy for
*.ee
return "DIRECT";
else if (isInNet(myIpAddress(), "212.107.0.0", "255.255.0.0")) // TELE2
return "PROXY cache.tele2.ee:3128";
else if (isInNet(myIpAddress(), "194.106.0.0", "255.255.0.0")) // ONLINE
return "PROXY cache.online.ee:80";
else if (isInNet(myIpAddress(), "195.250.0.0", "255.255.0.0")) // HOT
return "DIRECT";
}
save the following code to a local file (e.g. c:\proxy.pac)
If using Internet Explorer, choose View > Internet Options > Connections >
LAN settings > use automatic configuration scrit
ENJOY