1 // PAC script which uses isInNet on both IP addresses and hosts, and calls
4 function FindProxyForURL(url
, host
) {
5 var my_ip
= myIpAddress();
7 if (isInNet(my_ip
, "172.16.0.0", "255.248.0.0")) {
11 if (url
.substring(0, 6) != "https:" &&
12 isInNet(host
, "10.0.0.0", "255.0.0.0")) {
16 if (dnsDomainIs(host
, "foo.bar.baz.com") || !isResolvable(host
)) {