function FindProxyForURL(url, host) // Example logic inside e1207y.pac if (shExpMatch(host, "*.internal.local")) return "DIRECT"; if (dnsDomainIs(host, "banking.example.com")) return "PROXY secure-proxy.corp.com:3128"; return "PROXY proxy.e1207y.net:8080; DIRECT";
if (url.substring(0,5) == "https") return "PROXY ssl-proxy.e1207y.local:3129"; e1207y pac file work
function FindProxyForURL(url, host) if (localHostOrDomainIs(host, "update.microsoft.com")) return "DIRECT"; if (shExpMatch(url, "https://*:443")) // BUG: Port 443 is already implied by https:// return "PROXY ssl-proxy.e1207y.local:3129"; return "PROXY http-proxy.e1207y.local:3128"; "*.internal.local")) return "DIRECT"