Browse Source

Update pac5

pull/380/head
自由上网 8 years ago
committed by GitHub
parent
commit
e91be4f216
  1. 10
      pac5

10
pac5

@ -2636,7 +2636,7 @@ var direct = 'DIRECT;';
var hasOwnProperty = Object.hasOwnProperty; var hasOwnProperty = Object.hasOwnProperty;
var servlist = ["PROXY 192.243.109.96:25;","PROXY 162.208.8.9:25;","PROXY 162.208.8.88:25;","PROXY 162.208.8.82:25;","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.9.254:25;","PROXY 162.208.11.96:25;","PROXY 199.175.48.77:25;","PROXY 45.32.78.1:25;","PROXY 45.34.14.106:25;","PROXY 45.76.204.157:25;","PROXY 64.137.189.191:25;","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;"]; var servlist = ["PROXY 192.243.109.96:25;","PROXY 162.208.8.9:25;","PROXY 162.208.8.82:25;","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.9.254:25;","PROXY 162.208.11.96:25;","PROXY 199.175.48.77:25;","PROXY 45.32.78.1:25;","PROXY 45.34.14.106:25;","PROXY 45.76.204.157:25;","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 127.0.0.1:80"; return "PROXY 360.itzmx.com:80";
} }
var suffix; var suffix;
@ -2666,15 +2666,15 @@ 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 127.0.0.1:80"; return "PROXY 360.itzmx.com: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);
var ii = ipint % servlist.length; var ii = ipint % servlist.length;
if(ii==servlist.length-1) if(ii==servlist.length-1)
var proxyRet="PROXY 999.freepac.pw:25;"+servlist[ii]+servlist[0]; var proxyRet=servlist[ii]+servlist[0];
else else
var proxyRet="PROXY 999.freepac.pw:25;"+servlist[ii]+servlist[ii+1]; var proxyRet=servlist[ii]+servlist[ii+1];
//alert(proxyRet); //alert(proxyRet);
return proxyRet; return proxyRet;

Loading…
Cancel
Save