Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
function FindProxyForURL(url, host) { if (isInNet(myIpAddress(), "RRR.SSS.TTT.UUU", "255.255.255.0")) { return "PROXY proxyadresse:port;" } if (dnsDomainIs(host, "www.deineDomain.de")) { return "PROXY proxyadresse:port;" } if (isPlainHostName(host) || dnsDomainIs(host, "microsoft.com") || dnsDomainIs(host, "web.de") || isInNet(host, "127.0.0.1", "255.255.255.255") || isInNet(host, "VVV.XXX.YYY.ZZZ.", "255.255.255.0") || return "DIRECT"; else return "PROXY proxyadresse:port;" } |
Benutzerinformationen überspringen
Prof. Dr. Schlaumeier
Wohnort: Mecklenburg, zur Entwicklungshilfe in Chemnitz/Sachsen ;-)