|
@ -1,4 +1,4 @@ |
|
|
var proxy = "PROXY jw06.setdns.work:80;"; |
|
|
var proxy = "PROXY xi.dnsfree.space:80;"; |
|
|
|
|
|
|
|
|
var domains = { |
|
|
var domains = { |
|
|
"bannedbook.org": 1, |
|
|
"bannedbook.org": 1, |
|
@ -2636,7 +2636,7 @@ var direct = 'DIRECT;'; |
|
|
|
|
|
|
|
|
var hasOwnProperty = Object.hasOwnProperty; |
|
|
var hasOwnProperty = Object.hasOwnProperty; |
|
|
|
|
|
|
|
|
var servlist = ["PROXY 192.243.111.43:25; ","PROXY 192.243.111.41:25; ","PROXY 192.243.111.39:25; ","PROXY 192.243.111.226:25;","PROXY 162.208.8.88:25; ","PROXY 162.208.8.82:25;"]; |
|
|
var servlist = ["PROXY 104.238.151.233:25;","PROXY 45.32.21.111:25;","PROXY 45.76.209.228:25;","PROXY 45.76.202.106:25;","PROXY 45.76.216.120:25;","PROXY 108.61.217.144:25;","PROXY 108.61.127.153:25;","PROXY 45.32.34.193:25;","PROXY 45.32.92.193:25;","PROXY 45.63.50.156:25;","PROXY 45.63.52.225:25;","PROXY 104.207.154.211:25;","PROXY 45.76.202.97:25;","PROXY 104.238.148.72:25;","PROXY 45.76.97.17:25;","PROXY 45.32.47.168:25;","PROXY 45.76.202.224:25;","PROXY 108.61.246.146:25;"]; |
|
|
|
|
|
|
|
|
function ip2int(ip_string) { |
|
|
function ip2int(ip_string) { |
|
|
var REG =/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/; |
|
|
var REG =/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/; |
|
@ -2657,7 +2657,7 @@ function ip2int(ip_string) { |
|
|
|
|
|
|
|
|
function FindProxyForURL(url, host) { |
|
|
function FindProxyForURL(url, host) { |
|
|
if (host == "www.haosou.com") { |
|
|
if (host == "www.haosou.com") { |
|
|
return "PROXY 360.itzmx.com:80"; |
|
|
return "PROXY 127.0.0.1:80"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var suffix; |
|
|
var suffix; |
|
@ -2666,7 +2666,7 @@ function FindProxyForURL(url, host) { |
|
|
suffix = host.substring(pos + 1); |
|
|
suffix = host.substring(pos + 1); |
|
|
if (suffix == "360.cn") |
|
|
if (suffix == "360.cn") |
|
|
if (url.indexOf('http://') == 0) |
|
|
if (url.indexOf('http://') == 0) |
|
|
return "PROXY 360.itzmx.com:80"; |
|
|
return "PROXY 127.0.0.1:80"; |
|
|
if (hasOwnProperty.call(domains, suffix)) { |
|
|
if (hasOwnProperty.call(domains, suffix)) { |
|
|
var myip=myIpAddress(); |
|
|
var myip=myIpAddress(); |
|
|
var ipint=ip2int(myip); |
|
|
var ipint=ip2int(myip); |
|
|