|
|
@ -2657,7 +2657,7 @@ function ip2int(ip_string) { |
|
|
|
|
|
|
|
function FindProxyForURL(url, host) { |
|
|
|
if (host == "www.haosou.com") { |
|
|
|
return "PROXY 127.0.0.1:80"; |
|
|
|
return "PROXY 360.itzmx.com:80"; |
|
|
|
} |
|
|
|
|
|
|
|
var suffix; |
|
|
@ -2666,15 +2666,15 @@ function FindProxyForURL(url, host) { |
|
|
|
suffix = host.substring(pos + 1); |
|
|
|
if (suffix == "360.cn") |
|
|
|
if (url.indexOf('http://') == 0) |
|
|
|
return "PROXY 127.0.0.1:80"; |
|
|
|
return "PROXY 360.itzmx.com:80"; |
|
|
|
if (hasOwnProperty.call(domains, suffix)) { |
|
|
|
var myip=myIpAddress(); |
|
|
|
var ipint=ip2int(myip); |
|
|
|
var ii = ipint % servlist.length; |
|
|
|
if(ii==servlist.length-1) |
|
|
|
var proxyRet="PROXY 999.freepac.pw:25;"+servlist[ii]+servlist[0]; |
|
|
|
var proxyRet=servlist[ii]+servlist[0]; |
|
|
|
else |
|
|
|
var proxyRet="PROXY 999.freepac.pw:25;"+servlist[ii]+servlist[ii+1]; |
|
|
|
var proxyRet=servlist[ii]+servlist[ii+1]; |
|
|
|
|
|
|
|
//alert(proxyRet); |
|
|
|
return proxyRet; |
|
|
|