大小: 1336
备注:
|
大小: 1284
备注:
|
删除的内容标记成这样。 | 加入的内容标记成这样。 |
行号 25: | 行号 25: |
return "PROXY www-proxy.ericsson.se:8080; " + "PROXY 127.0.0.1:8580; " + |
return "PROXY 127.0.0.1:8580; " + |
function FindProxyForURL(url,host) {
- if(isPlainHostName(host)) return "DIRECT;";
if( dnsDomainIs(host, "twitter.com") ||
dnsDomainIs(host, ".googleusercontent.com") || dnsDomainIs(host, "img.ly") || dnsDomainIs(host, ".facebook.com") || dnsDomainIs(host, "facebook.com") || dnsDomainIs(host, ".fbcdn.net") || dnsDomainIs(host, ".youtube.com") || dnsDomainIs(host, ".ytimg.com") || dnsDomainIs(host, ".google.com") || dnsDomainIs(host, ".google.com.hk") || dnsDomainIs(host, ".wordpress.com") || dnsDomainIs(host, ".blogspot.com") || dnsDomainIs(host, ".blogger.com") || dnsDomainIs(host, "foursquare.com") || dnsDomainIs(host, "multiupload.com") || dnsDomainIs(host, "www.delicious.com") || dnsDomainIs(host, "feeds.feedburner.com") || dnsDomainIs(host, "developer.android.com")|| dnsDomainIs(host, "secure.wikimedia.org") || 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; " +
}