Sample proxy auto-configuration
function FindProxyForURL(url, host)
if (isPlainHostName(host) ||
dnsDomainIs(host, ".cawtech.com"))
if ((url.substring(0, 5) == "http:") ||
(url.substring(0, 6) == "https:") ||
(url.substring(0, 4) == "ftp:") ||
(url.substring(0, 7) == "gopher:"))
return "PROXY proxy.cawtech.com:3128; DIRECT";