Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Choler authored Mar 7, 2020
1 parent 42c7b94 commit fcdd40a
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 51 deletions.
45 changes: 34 additions & 11 deletions Ruleset/Adblock.list
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ DOMAIN,ad.12306.cn
# 腾讯新闻
DOMAIN,news.l.qq.com

# QQ音乐
DOMAIN,ad.tencentmusic.com

# 企鹅电竞
URL-REGEX,"^http:\/\/shp\.qpic\.cn\/pggamehead\/.*h=\d{4}$"

Expand All @@ -68,23 +65,24 @@ URL-REGEX,"^https?:\/\/api2\.helper\.qq\.com\/game\/buttons$"
# 微信公众号
URL-REGEX,"^https?:\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad"

# QQ音乐
URL-REGEX,"^http:\/\/[\s\S]*\/music\/common\/upload\/t_splash_info\/"

# 百度地图
DOMAIN,map-mobile-opnimg.cdn.bcebos.com
AND,((IP-CIDR,0.0.0.0/0,no-resolve), (USER-AGENT,%E7%99%BE%E5%BA%A6%E5%9C%B0%E5%9B%BE*))

# 百度网盘
URL-REGEX,"^https?:\/\/pan\.baidu\.com\/rest\/2.0\/pcs\/adx"
URL-REGEX,"^https?:\/\/pan\.baidu\.com\/rest\/\d(\.\d)?\/pcs\/adx"
URL-REGEX,"^https?:\/\/pan\.baidu\.com\/act\/api\/activityentry"

# 百度贴吧
URL-REGEX,"^http:\/\/[\s\S]*\/c\/s\/splashSchedule$"

# 淘宝
URL-REGEX,"^https?:\/\/heic\.alicdn\.com\/.*\.jpg_(9\d{2}|\d{4})"
IP-CIDR,203.119.144.0/23,no-resolve
IP-CIDR,203.119.144.0/21,no-resolve
IP-CIDR,203.119.175.0/24,no-resolve
IP-CIDR,106.11.162.0/24,no-resolve
IP-CIDR,47.102.83.0/24,no-resolve

# 飞猪
URL-REGEX,"^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.trip\.activity\.querytmsresources\/"
Expand All @@ -108,7 +106,7 @@ URL-REGEX,"^http:\/\/p\d\.meituan\.net\/(wmbanner|bizad)\/"

# 美团
URL-REGEX,"^https?:\/\/s3plus\.meituan\.net\/v\d\/mss_a002"
URL-REGEX,"^https?:\/\/img\.meituan\.net\/(adunion|display|midas)\/.+\.jpg(\.webp)?$"
URL-REGEX,"^https?:\/\/img\.meituan\.net\/(adunion|display|midas)\/.*\.jpg(\.webp)?$"

# 网易云音乐
URL-REGEX,"^http:\/\/[\s\S]*\/eapi\/ad\/"
Expand Down Expand Up @@ -167,7 +165,10 @@ DOMAIN,dsp.edm.weibo.cn
URL-REGEX,"^https?:\/\/app\.yinxiang\.com\/ads\/getAdsInfo$"

# 知乎
URL-REGEX,"^https?:\/\/api\.zhihu\.com\/commercial_api\/.*launch"
USER-AGENT,AVOS*
URL-REGEX,"^https?:\/\/www\.zhihu\.com\/api\/v4\/mcn\/"
URL-REGEX,"^https?:\/\/api\.zhihu\.com\/(ab|adx|drama|fringe|zst|commercial|ad-style-service|market/popover|search/(top|tab|preset)|.*(guide|recommendations|extended|featured-comment-ad))"
AND,((USER-AGENT,osee2*), (NOT,((DOMAIN-SUFFIX,zhihu.com))), (NOT,((DOMAIN-SUFFIX,zhimg.com))))

# 豆瓣
URL-REGEX,"^https?:\/\/api\.douban\.com\/v\d\/app_ads\/splash"
Expand Down Expand Up @@ -209,7 +210,7 @@ URL-REGEX,"^https?:\/\/api\.gotokeep\.com\/ads\/"
URL-REGEX,"^http:\/\/ggx\.cmvideo\.cn\/request\/"

# 咪咕音乐
URL-REGEX,"^https?:\/\/app\.pd\.nf\.migu\.cn\/MIGUM2.0\/v\d.0\/update_check\.do$"
URL-REGEX,"^https?:\/\/app\.pd\.nf\.migu\.cn\/MIGUM2\.0\/v\d(\.\d)?\/update_check\.do$"

# 有道翻译官
DOMAIN,gorgon.youdao.com
Expand Down Expand Up @@ -247,4 +248,26 @@ URL-REGEX,"^http:\/\/api\.ssp\.zxrtb\.com\/myad\/"
URL-REGEX,"^https?:\/\/app-api\.smzdm\.com\/util\/loading"

# 咪咕爱看
URL-REGEX,"^http:\/\/aikanvod\.miguvideo\.com\/video\/p\/i_(adverseInterface|vodDetailsMainEx)\.jsp"
URL-REGEX,"^http:\/\/aikanvod\.miguvideo\.com\/video\/p\/i_(adverseInterface|vodDetailsMainEx)\.jsp"

# 拼多多
URL-REGEX,"^http:\/\/t00img\.yangkeduo\.com\/goods\/.*\.jpeg\?imageView2\/format\/webp$"

# 人人视频
URL-REGEX,"^https?:\/\/api\.rr\.tv\/ad\/getAll$"
URL-REGEX,"^https?:\/\/api\.rr\.tv\/storage\/business\/rootName\/app\/homePage\?dataType=JSON$"

# 神舟专车
URL-REGEX,"^https?:\/\/img01\.10101111cdn\.com\/adpos\/"

# 美图秀秀
URL-REGEX,"^https?:\/\/adui\.tg\.meitu\.com\/lua\/badvert"

# 虎扑
URL-REGEX,"^https?:\/\/goblin\.hupu\.com\/.*\/interfaceAd\/"

# 迅游加速器
URL-REGEX,"^https?:\/\/portal\.xunyou\.mobi\/api\/v\d\/ios\/ads\/splash"

# 360家庭防火墙
URL-REGEX,"^https?:\/\/superapp\.ifenglian\.com\/super\/configs\/getconfig$"
56 changes: 36 additions & 20 deletions Ruleset/Blocked.list
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@

# Misc
DOMAIN-SUFFIX,tw
DOMAIN-SUFFIX,hk
DOMAIN-SUFFIX,jp
DOMAIN-SUFFIX,ly
DOMAIN-SUFFIX,us
DOMAIN-SUFFIX,uk
DOMAIN-SUFFIX,au
DOMAIN-SUFFIX,co
DOMAIN-SUFFIX,io
DOMAIN-SUFFIX,tk
DOMAIN-SUFFIX,ms
DOMAIN-SUFFIX,im

DOMAIN-SUFFIX,imgur.com
DOMAIN-SUFFIX,droplr.com
Expand All @@ -30,28 +32,37 @@ DOMAIN-SUFFIX,tenor.com
DOMAIN-SUFFIX,pexels.com
DOMAIN-SUFFIX,imdb.com
DOMAIN-SUFFIX,gfycat.com
DOMAIN-SUFFIX,baiduwp.com
DOMAIN-SUFFIX,v2ex.com
DOMAIN-SUFFIX,feedx.net
DOMAIN-SUFFIX,feedex.net
DOMAIN-SUFFIX,ampproject.org
DOMAIN-SUFFIX,crashlytics.com
DOMAIN-SUFFIX,iadsdk.apple.com
DOMAIN-SUFFIX,shadowsocks.org
DOMAIN-SUFFIX,v2ray.com
DOMAIN-SUFFIX,outline.com
DOMAIN-SUFFIX,weather.com
DOMAIN-SUFFIX,maxmind.com
DOMAIN-SUFFIX,overcast.fm

AND,((DOMAIN-KEYWORD,wiki), (DOMAIN-SUFFIX,org))
AND,((DOMAIN-KEYWORD,amazon), (DOMAIN-SUFFIX,com))
AND,((DOMAIN-KEYWORD,github), (DOMAIN-SUFFIX,com))
AND,((DOMAIN-KEYWORD,dropbox), (DOMAIN-SUFFIX,com))

# Surge
USER-AGENT,Surge*

# Spotify
USER-AGENT,Spotify*

# Apple
DOMAIN,ocvideo.apple.com
DOMAIN-SUFFIX,iadsdk.apple.com
DOMAIN-KEYWORD,buy.itunes.apple.com

# Netflix
USER-AGENT,Argo*
DOMAIN-SUFFIX,netflix.com
DOMAIN-SUFFIX,netflix.net
DOMAIN-SUFFIX,nflxext.com
DOMAIN-SUFFIX,nflximg.com
DOMAIN-SUFFIX,nflximg.net
DOMAIN-SUFFIX,nflxso.net
DOMAIN-SUFFIX,nflxvideo.net

# eBay
DOMAIN-SUFFIX,ebay.com
Expand All @@ -62,6 +73,7 @@ DOMAIN-SUFFIX,ebaystatic.com
# OneDrive
USER-AGENT,OneDrive*
USER-AGENT,OneDriveiOSApp*
DOMAIN,onedrive.live.com

# Facebook
DOMAIN-SUFFIX,fb.me
Expand All @@ -76,8 +88,6 @@ DOMAIN-SUFFIX,oculus.com
DOMAIN-SUFFIX,oculuscdn.com
DOMAIN-SUFFIX,whatsapp.com
DOMAIN-SUFFIX,whatsapp.net
DOMAIN-SUFFIX,oculus.com
DOMAIN-SUFFIX,oculuscdn.com

# Microsoft
DOMAIN-SUFFIX,gfx.ms
Expand All @@ -91,14 +101,20 @@ DOMAIN-SUFFIX,akamaized.net

# Google
DOMAIN-KEYWORD,google
DOMAIN-SUFFIX,abc.xyz
DOMAIN-KEYWORD,blogspot
DOMAIN-SUFFIX,goo.gl
DOMAIN-SUFFIX,youtu.be
DOMAIN-SUFFIX,gmail.com
DOMAIN-SUFFIX,ytimg.com
DOMAIN-SUFFIX,ggpht.com
DOMAIN-SUFFIX,gstatic.com
DOMAIN-SUFFIX,youtube.com
DOMAIN-SUFFIX,appspot.com
DOMAIN-SUFFIX,blogger.com
DOMAIN-SUFFIX,getoutline.org
DOMAIN-SUFFIX,gvt0.com
DOMAIN-SUFFIX,gvt1.com
DOMAIN-SUFFIX,gvt3.com

# Line
DOMAIN-SUFFIX,line.me
Expand Down Expand Up @@ -186,6 +202,7 @@ DOMAIN-SUFFIX,xvideos-cdn.com
# PornHub
DOMAIN-SUFFIX,phncdn.com
DOMAIN-SUFFIX,pornhub.com
DOMAIN-SUFFIX,pornhubpremium.com

# NYTimes
DOMAIN-SUFFIX,nyt.com
Expand All @@ -196,14 +213,13 @@ DOMAIN-SUFFIX,nytimes.com
DOMAIN-SUFFIX,ftimg.net
DOMAIN-SUFFIX,ftchinese.com

# Requires DNS lookup
# FINAL
AND,((IP-CIDR,0.0.0.0/0,no-resolve), (NOT,((GEOIP,CN))))


AND,((USER-AGENT,JSBox*), (NOT,((GEOIP,CN))))
AND,((USER-AGENT,Reeder*), (NOT,((GEOIP,CN))))
AND,((USER-AGENT,Mozilla*), (NOT,((GEOIP,CN))))
AND,((USER-AGENT,*appstored*), (NOT,((GEOIP,CN))))
AND,((USER-AGENT,MobileSafari*), (NOT,((GEOIP,CN))))
AND,((USER-AGENT,AppleCoreMedia*), (NOT,((GEOIP,CN))))
AND,((USER-AGENT,*WebKit.Networking*), (NOT,((GEOIP,CN))))

# FINAL
AND,((IP-CIDR,0.0.0.0/0,no-resolve), (NOT,((GEOIP,CN))))
AND,((USER-AGENT,Mozilla*), (NOT,((GEOIP,CN))))
AND,((USER-AGENT,*Safari*), (NOT,((GEOIP,CN))))
AND,((USER-AGENT,*Networking*), (NOT,((GEOIP,CN))))
43 changes: 23 additions & 20 deletions Ruleset/Unblock.list
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,16 @@ DOMAIN-SUFFIX,guokr.com
DOMAIN-SUFFIX,adguard.com
DOMAIN-SUFFIX,huanqiu.com
DOMAIN-SUFFIX,oschina.net
DOMAIN-SUFFIX,cmbchina.com
DOMAIN-SUFFIX,magi.com
DOMAIN-SUFFIX,smzdm.com
DOMAIN-SUFFIX,leiphone.com
DOMAIN-SUFFIX,chinamobile.com
DOMAIN-SUFFIX,manmanbuy.com
DOMAIN-SUFFIX,dxycdn.com
DOMAIN-SUFFIX,lapin365.com
DOMAIN-SUFFIX,csdn.net
DOMAIN-SUFFIX,ipip.net
DOMAIN-SUFFIX,douyu.com

DOMAIN-SUFFIX,cn
DOMAIN-SUFFIX,local
Expand All @@ -67,6 +73,7 @@ DOMAIN-SUFFIX,36kr.com
DOMAIN-SUFFIX,36krcdn.com

DOMAIN-SUFFIX,weibo.com
DOMAIN-SUFFIX,weibocdn.com
DOMAIN-SUFFIX,miaopai.com

DOMAIN-SUFFIX,ifeng.com
Expand All @@ -75,10 +82,6 @@ DOMAIN-SUFFIX,ifengimg.com
DOMAIN-SUFFIX,ctrip.com
DOMAIN-SUFFIX,c-ctrip.com

DOMAIN-SUFFIX,csdn.net
DOMAIN-SUFFIX,ipip.net
DOMAIN-SUFFIX,douyu.com

DOMAIN-SUFFIX,jianshu.io
DOMAIN-SUFFIX,jianshu.com

Expand Down Expand Up @@ -106,35 +109,32 @@ DOMAIN-SUFFIX,lncldglobal.com
DOMAIN-SUFFIX,tuchong.net
DOMAIN-SUFFIX,tuchong.com

DOMAIN-SUFFIX,cmbimg.com
DOMAIN-SUFFIX,cmbchina.com

DOMAIN-SUFFIX,meituan.net
DOMAIN-SUFFIX,meituan.com
DOMAIN-SUFFIX,dianping.com

DOMAIN-SUFFIX,meitu.com
DOMAIN-SUFFIX,meitustat.com
DOMAIN-SUFFIX,meitudata.com

# Apple
DOMAIN-SUFFIX,aaplimg.com
DOMAIN-SUFFIX,apple.co
DOMAIN-SUFFIX,apple.com
DOMAIN-SUFFIX,apple-cloudkit.com
DOMAIN-SUFFIX,apple-mapkit.com
DOMAIN-SUFFIX,appstore.com
DOMAIN-SUFFIX,cdn-apple.com
DOMAIN-SUFFIX,icloud.com
DOMAIN-SUFFIX,icloud-content.com
DOMAIN-SUFFIX,me.com
DOMAIN-SUFFIX,mzstatic.com
USER-AGENT,cloudd*
USER-AGENT,CloudKit*

# Alibaba
DOMAIN-KEYWORD,alipay
DOMAIN-KEYWORD,aliyun
DOMAIN-SUFFIX,1688.com
DOMAIN-SUFFIX,amap.com
DOMAIN-SUFFIX,aliapp.org
DOMAIN-SUFFIX,alibaba.com
DOMAIN-SUFFIX,alicdn.com
DOMAIN-SUFFIX,alipay.com
DOMAIN-SUFFIX,aliyun.com
DOMAIN-SUFFIX,aliyuncs.com
DOMAIN-SUFFIX,tmall.com
DOMAIN-SUFFIX,taobao.com
DOMAIN-SUFFIX,mmstat.com
DOMAIN-SUFFIX,alipayobjects.com

# Baidu
DOMAIN-SUFFIX,baidu.com
Expand All @@ -155,6 +155,8 @@ DOMAIN-SUFFIX,pstatp.com
DOMAIN-SUFFIX,toutiao.com
DOMAIN-SUFFIX,ixigua.com
DOMAIN-SUFFIX,snssdk.com
DOMAIN-SUFFIX,byteimg.com
DOMAIN-SUFFIX,bytedance.com

# JD
DOMAIN-SUFFIX,jd.com
Expand All @@ -168,6 +170,7 @@ DOMAIN-SUFFIX,126.net
DOMAIN-SUFFIX,127.net
DOMAIN-SUFFIX,163.com
DOMAIN-SUFFIX,163yun.com
DOMAIN-SUFFIX,netease.im
DOMAIN-SUFFIX,netease.com
DOMAIN-SUFFIX,youdao.com
DOMAIN-SUFFIX,ydstatic.com
Expand Down

0 comments on commit fcdd40a

Please sign in to comment.