function FindProxyForURL(url,host) {
- if(isPlainHostName(host)) return "DIRECT;"; if(
dnsDomainIs(host, "developer.android.com")|| dnsDomainIs(host, ".appspot.com") || dnsDomainIs(host, "voanews.com") || dnsDomainIs(host, ".blogspot.com") || dnsDomainIs(host, ".blogger.com") || dnsDomainIs(host, "blog.chenzhongke.com") || dnsDomainIs(host, "chinagfw.org") || dnsDomainIs(host, "dabr.co.uk") || dnsDomainIs(host, "dabr.in") || dnsDomainIs(host, "delicious.com") || dnsDomainIs(host, ".dropbox.com") || dnsDomainIs(host, "facebook.com") || dnsDomainIs(host, ".facebook.com") || dnsDomainIs(host, ".fbcdn.net") || dnsDomainIs(host, "feeds.feedburner.com") || dnsDomainIs(host, "foursquare.com") || dnsDomainIs(host, ".google.com") || dnsDomainIs(host, ".google.com.hk") || dnsDomainIs(host, ".googleusercontent.com") || dnsDomainIs(host, "img.ly") || dnsDomainIs(host, "multiupload.com") || dnsDomainIs(host, ".twicpic.com") || dnsDomainIs(host, "twitter.com") || dnsDomainIs(host, "scribd.com") || dnsDomainIs(host, "secure.wikimedia.org") || dnsDomainIs(host, ".vimeo.com") || dnsDomainIs(host, ".wikipedia.org") || dnsDomainIs(host, ".wordpress.com") || dnsDomainIs(host, ".youtube.com") || dnsDomainIs(host, ".ytimg.com") || shExpMatch(url,"*python.org/download*")
- ) {
- return "PROXY 127.0.0.1:8580; " +
- "PROXY 127.0.0.1:1984; " + "PROXY 127.0.0.1:8118; " + "SOCKS 127.0.0.1:9590; " + "DIRECT;";
- return "PROXY 127.0.0.1:8580; " +
}