/* $Id: proxyconf.pac,v 1.3 2004/05/10 12:06:21 hajo Exp $ */ function FindProxyForURL(url,host) { /* Don't cache anything on hajo.net */ if( dnsDomainIs(host, ".hajo.net") ) { return "DIRECT"; } /* Your local machine won't be proxied by me ;) */ if( isInNet(host, "127.0.0.1", "255.255.255.0" ) ) { return "DIRECT"; } /* neither will your local network */ if( isInNet(host, "192.168.0.0", "255.255.0.0" ) ) { return "DIRECT"; } /* Otherwise I proxy. */ return "PROXY proxy.hajo.net:3128"; }