function FindProxyForURL(url, host) { // If the requested website is hosted within the internal network, send direct. if (isPlainHostName(host) || shExpMatch(host, "10.*") || shExpMatch(host, "127.*") || shExpMatch(host, "0.0.0.0")) return "DIRECT"; else return "PROXY 10.108.108.5:3128"; }