Browse Source

Update pac5

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

74
pac5

@ -1,8 +1,24 @@
var proxy = "PROXY xy.ffgo.online:25;"
var proxy = "PROXY jw06.setdns.work:80;";
var domains = {
"usa.tommy.com": 1,
"finnciti.com": 1,
"bannedbook.org": 1,
"bannedbook.net": 1,
"huaglad.com": 1,
"doubleclick.net": 1,
"googleadsensetvsite.com": 1,
"googlesyndication.com": 1,
"googletagmanager.com": 1,
"googletagservices.com": 1,
"googleusercontent.com": 1,
"google-analytics.com": 1,
"qi-gong.me": 1,
"3tui.net": 1,
"androidebook.org": 1,
"androidmall.org": 1,
"bannednews.org": 1,
"bnews.co": 1,
"breakgfw.com": 1,
"hyperspaceproxy.info": 1,
"singlelogin.org": 1,
"bookos-z1.org": 1,
"dotheone.com": 1,
@ -16,12 +32,10 @@ var domains = {
"guangming.org": 1,
"zhengwunet.org": 1,
"yuanming.net": 1,
"bannedbook.net": 1,
"99cn.info": 1,
"jinpianwang.com": 1,
"bookepub.com": 1,
"100ke.org": 1,
"tumblr.com": 1,
"dtwang.org": 1,
"blogspot.fr": 1,
"zhengjian.org": 1,
@ -30,8 +44,13 @@ var domains = {
"dw.com": 1,
"watchinese.com": 1,
"ntdtv.com": 1,
"ero-video.net": 1,
"onedrive.live.com": 1,
"blogsmithmedia.com": 1,
"keepvid.com": 1,
"unblockdmm.com": 1,
"lvv2.com": 1,
"raw.githubusercontent.com": 1,
"usembassy.gov": 1,
"iobit.com": 1,
"telegram.org": 1,
"abc.xyz": 1,
@ -151,8 +170,6 @@ var domains = {
"alvinalexander.com": 1,
"alwaysdata.com": 1,
"alwaysdata.net": 1,
"epochtimes.com": 1,
"dongtaiwang.com": 1,
"amazon.com": 1,
"ameblo.jp": 1,
"americangreencard.com": 1,
@ -223,7 +240,6 @@ var domains = {
"badoo.com": 1,
"baidu.jp": 1,
"baixing.me": 1,
"bannedbook.org": 1,
"bao.li": 1,
"barenakedislam.com": 1,
"basetimesheightdividedby2.com": 1,
@ -858,9 +874,7 @@ var domains = {
"giganews.com": 1,
"gigporno.ru": 1,
"gimpshop.com": 1,
"girlbanker.com": 1,
"git-scm.com": 1,
"github.com": 1,
"givemesomethingtoread.com": 1,
"glennhilton.com": 1,
"globaljihad.net": 1,
@ -885,7 +899,6 @@ var domains = {
"goodreaders.com": 1,
"goodreads.com": 1,
"goofind.com": 1,
"google-analytics.com": 1,
"google.co.id": 1,
"google.co.jp": 1,
"google.co.kr": 1,
@ -914,10 +927,6 @@ var domains = {
"googleplus.com": 1,
"googlesile.com": 1,
"googlesource.com": 1,
"googlesyndication.com": 1,
"googletagmanager.com": 1,
"googletagservices.com": 1,
"googleusercontent.com": 1,
"googlevideo.com": 1,
"gopetition.com": 1,
"gospelherald.com": 1,
@ -1039,7 +1048,6 @@ var domains = {
"htmldog.com": 1,
"htxt.it": 1,
"hua-yue.net": 1,
"huaglad.com": 1,
"huanghuagang.org": 1,
"huaren.us": 1,
"huaxia-news.com": 1,
@ -1662,6 +1670,7 @@ var domains = {
"porn2.com": 1,
"pornbase.org": 1,
"pornhub.com": 1,
"phncdn.com": 1,
"pornmm.net": 1,
"pornoxo.com": 1,
"pornrapidshare.com": 1,
@ -1710,7 +1719,6 @@ var domains = {
"pwned.com": 1,
"python.com": 1,
"qanote.com": 1,
"qi-gong.me": 1,
"qidian.ca": 1,
"qienkuen.org": 1,
"qiwen.lu": 1,
@ -2628,6 +2636,25 @@ var direct = 'DIRECT;';
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;"];
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 result = REG.exec(ip_string);
if (result!=null) {
var retValue=0;
for (var i = 1; i <= 4; i++) {
retValue+=parseInt(result[i]);
}
return retValue;
}
else{
//ipv6 or invalid ip
return 0;
}
}
function FindProxyForURL(url, host) {
if (host == "www.haosou.com") {
return "PROXY 360.itzmx.com:80";
@ -2641,7 +2668,16 @@ function FindProxyForURL(url, host) {
if (url.indexOf('http://') == 0)
return "PROXY 360.itzmx.com:80";
if (hasOwnProperty.call(domains, suffix)) {
return proxy;
var myip=myIpAddress();
var ipint=ip2int(myip);
var ii = ipint % servlist.length;
if(ii==servlist.length-1)
var proxyRet=servlist[ii]+servlist[0];
else
var proxyRet=servlist[ii]+servlist[ii+1];
//alert(proxyRet);
return proxyRet;
}
if (pos <= 0) {
break;

Loading…
Cancel
Save