You are on page 1of 1

function FindProxyForURL(url, host) { /* if (shExpMatch(url, "*vpn.domain.com") */ url = url.toLowerCase(); host = host.toLowerCase(); if (dnsDomainIs(host, ".lexisnexis.co.uk") ||isInNet(dnsResolve(host), "10.0.0.0 ", "255.0.0.

0")) { return "DIRECT"; } if(url.substring(0, 5) == "http:") { return "PROXY ndawebss16-wcg.noida.innodata.net:8080"; } else if(url.substring(0, 6) == "https:") { return "PROXY ndawebss16-wcg.noida.innodata.net:8080"; } else { return "DIRECT"; } }

You might also like