Browse Source

Update pac

pull/380/head
自由上网 8 years ago
committed by GitHub
parent
commit
be446741ba
  1. 107
      pac

107
pac

@ -1,32 +1,70 @@
var proxy = "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;";
var proxy = "PROXY jw06.setdns.work:80;";
var domains = {
"download.kolor.com": 1,
"messenger.com": 1,
"tumblr.com": 1,
"share.dmhy.org": 1,
"archeage.jp": 1,
"blogspot.jp": 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,
"android-x86.org": 1,
"web.whatapp.com": 1,
"thelaunchbook.com": 1,
"freefq.com": 1,
"faluninfo.net": 1,
"falundafaradio.org": 1,
"globalrescue.net": 1,
"guangming.org": 1,
"zhengwunet.org": 1,
"yuanming.net": 1,
"99cn.info": 1,
"jinpianwang.com": 1,
"bookepub.com": 1,
"100ke.org": 1,
"dtwang.org": 1,
"blogspot.fr": 1,
"zhengjian.org": 1,
"zh-cn.shenyun.com": 1,
"bbc.com": 1,
"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,
"s3.amazonaws.com": 1,
"d.chenqiwei.com": 1,
"blogspot.com": 1,
"vpsdime.com": 1,
"teamviewer.com": 1,
"truste.com": 1,
"ml314.com": 1,
"a.fsdn.com": 1,
"akamaihd.net": 1,
"cdninstagram.com": 1,
"namecheap.com": 1,
"chromium.org": 1,
"nexon.net": 1,
"nexon.com": 1,
@ -34,10 +72,16 @@ var domains = {
"nexon.co.jp": 1,
"hornystress.me": 1,
"konachan.com": 1,
"inboot.me": 1,
"my.vultr.com": 1,
"www.vultr.com": 1,
"flashfxp.com": 1,
"nicoseiga.jp": 1,
"smilevideo.jp": 1,
"nimg.jp": 1,
"nyaa.eu": 1,
"nyaa.se": 1,
"dmhy.org": 1,
"p.jwpcdn.com": 1,
"jwplayer.com": 1,
"0to255.com": 1,
@ -196,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,
@ -526,7 +569,6 @@ var domains = {
"djangosnippets.org": 1,
"dl-laby.jp": 1,
"dlsite.com": 1,
"dlsite.jp": 1,
"dmcdn.net": 1,
"dns2go.com": 1,
"dnscrypt.org": 1,
@ -832,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,
@ -859,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,
@ -872,8 +911,9 @@ var domains = {
"google.nl": 1,
"google.com": 1,
"google.com.au": 1,
"google.com.hk": 1,
"google.com.my": 1,
"google.com.sg": 1,
"google.com.tw": 1,
"googleadservices.com": 1,
"googleapis.com": 1,
"googlecode.com": 1,
@ -887,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,
@ -1012,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,
@ -1464,6 +1499,7 @@ var domains = {
"nf.id.au": 1,
"nga.mil": 1,
"ngensis.com": 1,
"nicovideo.jp": 1,
"nighost.org": 1,
"ning.com": 1,
"nintendium.com": 1,
@ -1634,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,
@ -1682,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,
@ -2458,7 +2494,6 @@ var domains = {
"wujieliulan.com": 1,
"wukangrui.net": 1,
"wwitv.com": 1,
"www.nicovideo.jp": 1,
"wzyboy.im": 1,
"x-art.com": 1,
"x-berry.com": 1,
@ -2601,6 +2636,25 @@ var direct = 'DIRECT;';
var hasOwnProperty = Object.hasOwnProperty;
var servlist = ["PROXY pac.ffgo.online;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";
@ -2614,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