function FindProxyForURL(url, host) { if (isPlainHostName(host) || url.substring(0,6)=="https:" || isInNet(host, "192.167.219.0", "255.255.255.0") || isInNet(host, "10.0.0.0", "255.0.0.0") || dnsDomainIs(host, ".unife.it") || dnsDomainIs(host, ".lex.unict.it") || dnsDomainIs(host, ".jcronline.org") || dnsDomainIs(host, ".oxfordjournals.org") || dnsDomainIs(host, ".ingentaconnect.com") || dnsDomainIs(host, ".cambridge.org") || dnsDomainIs(host, ".interscience.wiley.com") || dnsDomainIs(host, ".thomsonhc.com") || dnsDomainIs(host, ".highwire.org") || dnsDomainIs(host, ".scitation.aip.org") || dnsDomainIs(host, ".nature.com") || dnsDomainIs(host, ".worldtradelaw.net") || isInNet(host, "172.24.0.0", "255.255.0.0") || (host=="127.0.0.1")) return "DIRECT"; else return "PROXY proxy.unife.it:3128 ; DIRECT"; }