diff --git a/Clash/Outbound.yaml b/Clash/Outbound.yaml index ce142dd..2527417 100644 --- a/Clash/Outbound.yaml +++ b/Clash/Outbound.yaml @@ -87,11 +87,15 @@ dns: # i.e. questions to these domain names will always be answered with their # real IP addresses fake-ip-filter: - # - '*.lan' - # - localhost.ptlogin2.qq.com - - 'dns.msftncsi.com' - - 'www.msftncsi.com' - - 'www.msftconnecttest.com' + - '*.lan' + - localhost.ptlogin2.qq.com + - '+.srv.nintendo.net' + - '+.stun.playstation.net' + - '+.msftconnecttest.com' + - '+.msftncsi.com' + - '+.xboxlive.com' + - 'msftconnecttest.com' + - 'xbox.*.microsoft.com' # Supports UDP, TCP, DoT, DoH. You can specify the port to connect to. # All DNS questions are sent directly to the nameserver, without proxies diff --git a/Clash/RuleSet/China.yaml b/Clash/RuleSet/China.yaml index e76e856..ae633e5 100644 --- a/Clash/RuleSet/China.yaml +++ b/Clash/RuleSet/China.yaml @@ -246,7 +246,6 @@ payload: - DOMAIN-SUFFIX,b612.net - DOMAIN-SUFFIX,bdatu.com - DOMAIN-SUFFIX,beitaichufang.com - - DOMAIN-SUFFIX,bjango.com - DOMAIN-SUFFIX,booking.com - DOMAIN-SUFFIX,bstatic.com - DOMAIN-SUFFIX,cailianpress.com diff --git a/Clash/RuleSet/Global.yaml b/Clash/RuleSet/Global.yaml index e49f89d..af84cd5 100644 --- a/Clash/RuleSet/Global.yaml +++ b/Clash/RuleSet/Global.yaml @@ -9,9 +9,11 @@ payload: - DOMAIN-SUFFIX,gvt0.com - DOMAIN-SUFFIX,gvt3.com - DOMAIN-SUFFIX,xn--ngstr-lra8j.com + - DOMAIN-SUFFIX,ytimg.com - DOMAIN-KEYWORD,google - DOMAIN-KEYWORD,.blogspot. # > Microsoft + - DOMAIN-SUFFIX,aka.ms - DOMAIN-SUFFIX,onedrive.live.com - DOMAIN,az416426.vo.msecnd.net - DOMAIN,az668014.vo.msecnd.net @@ -63,11 +65,15 @@ payload: - IP-CIDR,125.209.208.0/20,no-resolve - IP-CIDR,147.92.128.0/17,no-resolve - IP-CIDR,203.104.144.0/21,no-resolve + # > Amazon + - DOMAIN-SUFFIX,amazon.co.jp + - DOMAIN,d3c33hcgiwev3.cloudfront.net + - DOMAIN,payments-jp.amazon.com + - DOMAIN,s3-ap-northeast-1.amazonaws.com + - DOMAIN,s3-ap-southeast-2.amazonaws.com # > Akamai - DOMAIN,a248.e.akamai.net - DOMAIN,a771.dscq.akamai.net - # > Amazon CloudFront - - DOMAIN,d3c33hcgiwev3.cloudfront.net # > Others - DOMAIN-SUFFIX,4shared.com - DOMAIN-SUFFIX,9cache.com @@ -75,7 +81,6 @@ payload: - DOMAIN-SUFFIX,abc.com - DOMAIN-SUFFIX,abc.net.au - DOMAIN-SUFFIX,abebooks.com - - DOMAIN-SUFFIX,amazon.co.jp - DOMAIN-SUFFIX,ao3.org - DOMAIN-SUFFIX,apigee.com - DOMAIN-SUFFIX,apkcombo.com @@ -189,6 +194,7 @@ payload: - DOMAIN-SUFFIX,ftchinese.com - DOMAIN-SUFFIX,ftimg.net - DOMAIN-SUFFIX,gate.io + - DOMAIN-SUFFIX,genius.com - DOMAIN-SUFFIX,getlantern.org - DOMAIN-SUFFIX,getsync.com - DOMAIN-SUFFIX,github.com @@ -352,6 +358,7 @@ payload: - DOMAIN-SUFFIX,steemit.com - DOMAIN-SUFFIX,steemitwallet.com - DOMAIN-SUFFIX,straitstimes.com + - DOMAIN-SUFFIX,streamable.com - DOMAIN-SUFFIX,streema.com - DOMAIN-SUFFIX,t66y.com - DOMAIN-SUFFIX,tapatalk.com @@ -427,9 +434,6 @@ payload: - DOMAIN,cc.tvbs.com.tw - DOMAIN,ocsp.int-x3.letsencrypt.org - - DOMAIN,payments-jp.amazon.com - - DOMAIN,s3-ap-northeast-1.amazonaws.com - - DOMAIN,s3-ap-southeast-2.amazonaws.com - DOMAIN,search.avira.com - DOMAIN,us.weibo.com @@ -496,12 +500,7 @@ payload: - DOMAIN-SUFFIX,telegram.me - DOMAIN-SUFFIX,telesco.pe # > Facebook - - DOMAIN-SUFFIX,facebook.br - - DOMAIN-SUFFIX,facebook.design - - DOMAIN-SUFFIX,facebook.hu - - DOMAIN-SUFFIX,facebook.in - - DOMAIN-SUFFIX,facebook.nl - - DOMAIN-SUFFIX,facebook.se + - DOMAIN-KEYWORD,.facebook. - DOMAIN-SUFFIX,facebookmail.com # > Others - DOMAIN-SUFFIX,noxinfluencer.com @@ -543,4 +542,5 @@ payload: - DOMAIN-SUFFIX,inkbunny.net - DOMAIN-SUFFIX,metapix.net - DOMAIN-SUFFIX,s3.amazonaws.com - - DOMAIN-SUFFIX,zaobao.com.sg \ No newline at end of file + - DOMAIN-SUFFIX,zaobao.com.sg + - DOMAIN,ocsp.apple.com \ No newline at end of file diff --git a/Clash/RuleSet/StreamingMedia/Streaming.yaml b/Clash/RuleSet/StreamingMedia/Streaming.yaml index 916672c..bca674f 100644 --- a/Clash/RuleSet/StreamingMedia/Streaming.yaml +++ b/Clash/RuleSet/StreamingMedia/Streaming.yaml @@ -243,7 +243,6 @@ payload: - PROCESS-NAME,com.ss.android.ugc.trill - DOMAIN-SUFFIX,byteoversea.com - DOMAIN-SUFFIX,ibytedtos.com - - DOMAIN-SUFFIX,ipstatp.com - DOMAIN-SUFFIX,muscdn.com - DOMAIN-SUFFIX,musical.ly - DOMAIN-SUFFIX,tiktok.com diff --git a/Clash/RuleSet/Unbreak.yaml b/Clash/RuleSet/Unbreak.yaml index ceae82e..76a4171 100644 --- a/Clash/RuleSet/Unbreak.yaml +++ b/Clash/RuleSet/Unbreak.yaml @@ -22,6 +22,7 @@ payload: - DOMAIN,translate.googleapis.com - DOMAIN,update.googleapis.com # > Tencent + - DOMAIN,fairplay.l.qq.com - DOMAIN,livew.l.qq.com - DOMAIN,vd.l.qq.com # > Strava diff --git a/Quantumult/Filter/China.list b/Quantumult/Filter/China.list index 102e9cd..b2bb342 100644 --- a/Quantumult/Filter/China.list +++ b/Quantumult/Filter/China.list @@ -247,7 +247,6 @@ DOMAIN-SUFFIX,amd.com,DIRECT DOMAIN-SUFFIX,b612.net,DIRECT DOMAIN-SUFFIX,bdatu.com,DIRECT DOMAIN-SUFFIX,beitaichufang.com,DIRECT -DOMAIN-SUFFIX,bjango.com,DIRECT DOMAIN-SUFFIX,booking.com,DIRECT DOMAIN-SUFFIX,bstatic.com,DIRECT DOMAIN-SUFFIX,cailianpress.com,DIRECT diff --git a/Quantumult/Filter/Global.list b/Quantumult/Filter/Global.list index a13d192..d71e9de 100644 --- a/Quantumult/Filter/Global.list +++ b/Quantumult/Filter/Global.list @@ -8,9 +8,11 @@ DOMAIN-SUFFIX,getoutline.org,PROXY DOMAIN-SUFFIX,gvt0.com,PROXY DOMAIN-SUFFIX,gvt3.com,PROXY DOMAIN-SUFFIX,xn--ngstr-lra8j.com,PROXY +DOMAIN-SUFFIX,ytimg.com,PROXY DOMAIN-KEYWORD,google,PROXY DOMAIN-KEYWORD,.blogspot.,PROXY # > Microsoft +DOMAIN-SUFFIX,aka.ms,PROXY DOMAIN-SUFFIX,onedrive.live.com,PROXY DOMAIN,az416426.vo.msecnd.net,PROXY DOMAIN,az668014.vo.msecnd.net,PROXY @@ -62,11 +64,15 @@ IP-CIDR,103.2.30.0/23,PROXY IP-CIDR,125.209.208.0/20,PROXY IP-CIDR,147.92.128.0/17,PROXY IP-CIDR,203.104.144.0/21,PROXY +# > Amazon +DOMAIN-SUFFIX,amazon.co.jp,PROXY +DOMAIN,d3c33hcgiwev3.cloudfront.net,PROXY +DOMAIN,payments-jp.amazon.com,PROXY +DOMAIN,s3-ap-northeast-1.amazonaws.com,PROXY +DOMAIN,s3-ap-southeast-2.amazonaws.com,PROXY # > Akamai DOMAIN,a248.e.akamai.net,PROXY DOMAIN,a771.dscq.akamai.net,PROXY -# > Amazon CloudFront -DOMAIN,d3c33hcgiwev3.cloudfront.net,PROXY # > Others DOMAIN-SUFFIX,4shared.com,PROXY DOMAIN-SUFFIX,9cache.com,PROXY @@ -74,7 +80,6 @@ DOMAIN-SUFFIX,9gag.com,PROXY DOMAIN-SUFFIX,abc.com,PROXY DOMAIN-SUFFIX,abc.net.au,PROXY DOMAIN-SUFFIX,abebooks.com,PROXY -DOMAIN-SUFFIX,amazon.co.jp,PROXY DOMAIN-SUFFIX,ao3.org,PROXY DOMAIN-SUFFIX,apigee.com,PROXY DOMAIN-SUFFIX,apkcombo.com,PROXY @@ -188,6 +193,7 @@ DOMAIN-SUFFIX,ft.com,PROXY DOMAIN-SUFFIX,ftchinese.com,PROXY DOMAIN-SUFFIX,ftimg.net,PROXY DOMAIN-SUFFIX,gate.io,PROXY +DOMAIN-SUFFIX,genius.com,PROXY DOMAIN-SUFFIX,getlantern.org,PROXY DOMAIN-SUFFIX,getsync.com,PROXY DOMAIN-SUFFIX,github.com,PROXY @@ -351,6 +357,7 @@ DOMAIN-SUFFIX,steamcommunity.com,PROXY DOMAIN-SUFFIX,steemit.com,PROXY DOMAIN-SUFFIX,steemitwallet.com,PROXY DOMAIN-SUFFIX,straitstimes.com,PROXY +DOMAIN-SUFFIX,streamable.com,PROXY DOMAIN-SUFFIX,streema.com,PROXY DOMAIN-SUFFIX,t66y.com,PROXY DOMAIN-SUFFIX,tapatalk.com,PROXY @@ -426,9 +433,6 @@ DOMAIN-SUFFIX,zoom.us,PROXY DOMAIN,cc.tvbs.com.tw,PROXY DOMAIN,ocsp.int-x3.letsencrypt.org,PROXY -DOMAIN,payments-jp.amazon.com,PROXY -DOMAIN,s3-ap-northeast-1.amazonaws.com,PROXY -DOMAIN,s3-ap-southeast-2.amazonaws.com,PROXY DOMAIN,search.avira.com,PROXY DOMAIN,us.weibo.com,PROXY @@ -527,4 +531,5 @@ DOMAIN-SUFFIX,cloudcone.com.cn,PROXY DOMAIN-SUFFIX,inkbunny.net,PROXY DOMAIN-SUFFIX,metapix.net,PROXY DOMAIN-SUFFIX,s3.amazonaws.com,PROXY -DOMAIN-SUFFIX,zaobao.com.sg,PROXY \ No newline at end of file +DOMAIN-SUFFIX,zaobao.com.sg,PROXY +DOMAIN,ocsp.apple.com,PROXY \ No newline at end of file diff --git a/Quantumult/Filter/StreamingMedia/Streaming.list b/Quantumult/Filter/StreamingMedia/Streaming.list index 7a60d3a..ad79c0f 100644 --- a/Quantumult/Filter/StreamingMedia/Streaming.list +++ b/Quantumult/Filter/StreamingMedia/Streaming.list @@ -240,7 +240,6 @@ DOMAIN,hamifans.emome.net,Streaming USER-AGENT,TikTok*,Streaming DOMAIN-SUFFIX,byteoversea.com,Streaming DOMAIN-SUFFIX,ibytedtos.com,Streaming -DOMAIN-SUFFIX,ipstatp.com,Streaming DOMAIN-SUFFIX,muscdn.com,Streaming DOMAIN-SUFFIX,musical.ly,Streaming DOMAIN-SUFFIX,tiktok.com,Streaming diff --git a/Quantumult/Filter/StreamingMedia/Video/YouTube.list b/Quantumult/Filter/StreamingMedia/Video/YouTube.list index 7786209..523e1d3 100644 --- a/Quantumult/Filter/StreamingMedia/Video/YouTube.list +++ b/Quantumult/Filter/StreamingMedia/Video/YouTube.list @@ -3,4 +3,6 @@ USER-AGENT,com.google.ios.youtube*,YouTube USER-AGENT,YouTube*,YouTube DOMAIN-SUFFIX,googlevideo.com,YouTube DOMAIN-SUFFIX,youtube.com,YouTube -DOMAIN,youtubei.googleapis.com,YouTube \ No newline at end of file +DOMAIN-SUFFIX,ytimg.com,YouTube +DOMAIN,youtubei.googleapis.com,YouTube +DOMAIN,yt3.ggpht.com,YouTube \ No newline at end of file diff --git a/Quantumult/Filter/Unbreak.list b/Quantumult/Filter/Unbreak.list index 59faa51..9d6ddf2 100644 --- a/Quantumult/Filter/Unbreak.list +++ b/Quantumult/Filter/Unbreak.list @@ -21,6 +21,7 @@ DOMAIN,mtalk.google.com,DIRECT DOMAIN,translate.googleapis.com,DIRECT DOMAIN,update.googleapis.com,DIRECT # > Tencent +DOMAIN,fairplay.l.qq.com,DIRECT DOMAIN,livew.l.qq.com,DIRECT DOMAIN,vd.l.qq.com,DIRECT # > Strava diff --git a/Quantumult/Outbound.conf b/Quantumult/Outbound.conf index e863da0..6419e65 100644 --- a/Quantumult/Outbound.conf +++ b/Quantumult/Outbound.conf @@ -64,19 +64,6 @@ server=119.29.29.29 # 本地 DNS 映射 # Firebase Cloud Messaging address=/mtalk.google.com/108.177.125.188 -# PCBeta -address=/pcbeta.com/36.27.212.81 -address=/uc.pcbeta.com/36.27.212.81 -address=/m.pcbeta.com/36.27.212.81 -address=/mac.pcbeta.com/36.27.212.81 -address=/static.template.pcbeta.com/36.27.212.81 -address=/web.pcbeta.com/36.27.212.81 -address=/i.pcbeta.com/36.27.212.81 -address=/bbs.pcbeta.com/36.27.212.81 -address=/www.pcbeta.com/36.27.212.81 -address=/cdn.pcbeta.attachment.inimc.com/36.27.212.81 -address=/cdn.pcbeta.static.inimc.com/36.27.212.81 -address=/cdn.pcbeta.css.inimc.com/36.27.212.81 ;server=8.8.4.4:53 ;server=/example0.com/system @@ -155,7 +142,7 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter # China 中国直连 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/China.list, tag=🇨🇳China, update-interval=86400, enabled=true -# 使用来自 ipipdotnet 的 ChinaIP 以解决数据不准确的问题,使用 ChinaIP.list 时禁用「GEOIP,CN」规则 +# 推荐使用来自 ipipdotnet 的 ChinaIP 以解决数据不准确,以及因规则类型优先级(GEOIP > IP-CIDR)导致的问题,使用 ChinaIP.list 时需禁用「GEOIP,CN」规则 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Extra/ChinaIP.list, tag=🇨🇳ChinaIP(与「geoip, cn, direct」二选一), update-interval=86400, enabled=true [rewrite_remote] @@ -163,20 +150,17 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter # 参数「tag」和「enabled」是可选的。 # -# 通用 +# General https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=🔀General, update-interval=86400, enabled=true -# Advertising 广告 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=🛡未满 30 天在「重写规则」手动缓存脚本, update-interval=86400, enabled=true +# Block Advertising +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=🛡Block Advertising, update-interval=86400, enabled=true -# YouTube 广告 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/YouTubeAds.conf, tag=🛡Premium 勿用且版本需 ≤ 15.26.4, update-interval=86400, enabled=false +# Block Advertising+ +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/AdvertisingPlus.conf, tag=🛡Block Advertising+, update-interval=86400, enabled=true -# TikTok -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokJP.conf, tag=🔓TikTokJP(多选一不可共用), update-interval=86400, enabled=false -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokKR.conf, tag=🔓TikTokKR(多选一不可共用), update-interval=86400, enabled=false -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokTW.conf, tag=🔓TikTokTW(多选一不可共用), update-interval=86400, enabled=false -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Unlock/TikTokUK.conf, tag=🔓TikTokUK(多选一不可共用), update-interval=86400, enabled=false +# Block YouTube +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/YouTubeAds.conf, tag=🛡Premium 勿用, update-interval=86400, enabled=false [server_local] # diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index 5faa241..71d8a13 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -1,26 +1,4 @@ -hostname = api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,prom.mobile.gome.com.cn,smkmp.96225.com,api.huomao.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn,ib-soft.net,www.inoreader.com,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,59.111.181.*,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,api.weibo.cn,mapi.weibo.com,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net,homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com - -# Script - -# ---(By Choler)--- -# ------ - -# ---(By yichahucha)--- -# > Weibo -^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js -^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/photos/pic_recommend_status|video/tiny_stream_video_list|photo/info) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js -# ------ - -# ---(By blackmatrix7)--- -# > Zhihu -^https?:\/\/api\.zhihu\.com\/people\/ url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js -^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js -^https?:\/\/api\.zhihu\.com\/v4\/questions url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js -# > SMZDM - homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com -^https:\/\/homepage-api.smzdm.com\/home url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js -^https:\/\/haojia-api.smzdm.com\/home\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js -^https:\/\/article-api.smzdm.com\/article\/index_home_page url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js -# ------ +hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,prom.mobile.gome.com.cn,smkmp.96225.com,api.huomao.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn,ib-soft.net,www.inoreader.com,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,59.111.181.*,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,www.zhihu.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net # > WeChat Official Account ^(http|https):\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad url response-body "advertisement_num":\d,"advertisement_info":\[.+\], response-body "advertisement_num":0,"advertisement_info":[], @@ -85,6 +63,7 @@ hostname = api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn ^https?:\/\/c\.tieba\.baidu\.com\/c\/s\/splashSchedule url reject ^https?:\/\/c\.tieba\.baidu\.com\/c\/f\/forum\/getAdInfo url reject ^https?:\/\/c\.tieba\.baidu\.com\/\w+\/\w+\/(sync|newRnSync|mlog) url reject +^https?:\/\/((25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\/\w+\/\w+\/(sync|newRnSync|mlog) url reject # > Baidu Map - newclient.map.baidu.com ^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads url reject # > Baidu InputMethod - mime.baidu.com @@ -96,7 +75,7 @@ hostname = api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn ^https?:\/\/act\.vip\.iqiyi\.com\/interact\/api\/v\d\/show url reject # --- # > bilibili - app.bilibili.com,manga.bilibili.com -^https?:\/\/app\.bilibili\.com\/x\/v\d\/splash\/ url reject +# ^https?:\/\/app\.bilibili\.com\/x\/v\d\/splash\/ url reject ^https?:\/\/manga\.bilibili\.com\/twirp\/comic\.v\d\.Comic\/Flash url reject # > BeiTaiKitchen - channel.beitaichufang.com ^https?:\/\/channel\.beitaichufang\.com\/channel\/api\/v\d\/promote\/ios\/start\/page url reject @@ -360,7 +339,7 @@ hostname = api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn # S # ---(Sina)--- -# > Weibo - *.uve.weibo.com,weibointl.api.weibo.cn,api.weibo.cn, mapi.weibo.com +# > Weibo - *.uve.weibo.com,weibointl.api.weibo.cn # ^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/(actionad|sdkad)\.php url reject # ^https?:\/\/wbapp\.uve\.weibo\.com\/wbapplua\/wbpullad\.lua url reject ^https?:\/\/weibointl\.api\.weibo\.cn\/portal\.php\?a=get_coopen_ads url reject @@ -488,12 +467,13 @@ hostname = api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn ^https?:\/\/\w+\.jstucdn\.com\/(g3\/|js\/ad) url reject # Z -# > Zhihu - api.zhihu.com +# > Zhihu - www.zhihu.com,api.zhihu.com ^https?:\/\/api\.zhihu\.com\/commercial_api\/ url reject ^https?:\/\/api\.zhihu\.com\/fringe\/ad url reject ^https?:\/\/api\.zhihu\.com\/ad url reject ^https?:\/\/api\.zhihu\.com\/appview\/api\/v\d\/answers\/\d+\/recommendations url reject ^https?:\/\/api\.zhihu\.com\/\w+\/\d+\/comments\/featured-comment-ad url reject +^https?:\/\/www\.zhihu\.com\/api\/v\d\/answers/\d+/recommendations url reject # > zhibo8 - a.qiumibao.com ^https?:\/\/a\.qiumibao\.com\/activities\/config\.php url reject ^https?:\/\/((25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d):\d+\/allOne\.php\?ad_name url reject diff --git a/Quantumult/Rewrite/Block/AdvertisingPlus.conf b/Quantumult/Rewrite/Block/AdvertisingPlus.conf new file mode 100644 index 0000000..922da31 --- /dev/null +++ b/Quantumult/Rewrite/Block/AdvertisingPlus.conf @@ -0,0 +1,30 @@ +hostname = *.amemv.com,api.weibo.cn,mapi.weibo.com,*.uve.weibo.com,www.zhihu.com,api.zhihu.com,homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com,app.bilibili.com + +# ---(By Choler)--- +# > Douyin +^https?:\/\/.*\.amemv\.com\/aweme\/v2\/(follow\/)?feed\/ url request-header ^GET \/aweme\/v\d\/(follow\/)?feed\/(.+\r\n) request-header GET /aweme/v1/$1feed/$2 +^https?:\/\/.*\.amemv\.com\/aweme\/v\d\/(feed|mix\/aweme|aweme\/post|(multi\/)?aweme\/detail|follow\/feed|nearby\/feed|search\/item|general\/search\/single|hot\/search\/video\/list)\/ url script-response-body https://raw.githubusercontent.com/Choler/Surge/master/Script/douyin.js +# ------ + +# ---(By yichahucha)--- +# > Weibo - api.weibo.cn,mapi.weibo.com +^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js +^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/photos/pic_recommend_status|video/tiny_stream_video_list|photo/info) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js +# ------ + +# ---(By blackmatrix7)--- +# > Zhihu +^https?:\/\/api\.zhihu\.com\/people\/ url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js +^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js +^https?:\/\/api\.zhihu\.com\/v4\/questions url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js + +# > SMZDM - homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com +^https:\/\/homepage-api.smzdm.com\/home url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js +^https:\/\/haojia-api.smzdm.com\/home\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js +^https:\/\/article-api.smzdm.com\/article\/index_home_page url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js +# ------ + +# ---(By srk24)--- +# > bilibili +^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list url script-response-body https://raw.githubusercontent.com/srk24/profile/master/bilibili_splash.js +# ------ \ No newline at end of file diff --git a/Quantumult/Rewrite/Unlock/README.md b/Quantumult/Rewrite/Unlock/README.md index 9c22253..22a929f 100644 --- a/Quantumult/Rewrite/Unlock/README.md +++ b/Quantumult/Rewrite/Unlock/README.md @@ -1 +1 @@ -⚠️ 注意:TikTok 区域解锁重写一次只可启用一个,不可多个地区同时使用。 \ No newline at end of file +⚠️ 注意:TikTok 区域解锁重写一次只可启用一个,不可多个地区同时使用,版本号需小于 17.9.0。 \ No newline at end of file diff --git a/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index 2c54b63..3f05b59 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -65,6 +65,7 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/c\.tieba\.baidu\.com\/c\/s\/splashSchedule - reject ^https?:\/\/c\.tieba\.baidu\.com\/c\/f\/forum\/getAdInfo - reject ^https?:\/\/c\.tieba\.baidu\.com\/\w+\/\w+\/(sync|newRnSync|mlog) - reject +^https?:\/\/((25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\/\w+\/\w+\/(sync|newRnSync|mlog) - reject # > Baidu Map - newclient.map.baidu.com ^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads - reject # > Baidu InputMethod - mime.baidu.com @@ -76,7 +77,7 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/act\.vip\.iqiyi\.com\/interact\/api\/v\d\/show - reject # --- # > bilibili - app.bilibili.com,manga.bilibili.com -^https?:\/\/app\.bilibili\.com\/x\/v\d\/splash\/ - reject +# ^https?:\/\/app\.bilibili\.com\/x\/v\d\/splash\/ - reject ^https?:\/\/manga\.bilibili\.com\/twirp\/comic\.v\d\.Comic\/Flash - reject # > BeiTaiKitchen - channel.beitaichufang.com ^https?:\/\/channel\.beitaichufang\.com\/channel\/api\/v\d\/promote\/ios\/start\/page - reject @@ -340,7 +341,7 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI # S # ---(Sina)--- -# > Weibo - *.uve.weibo.com,weibointl.api.weibo.cn,api.weibo.cn, mapi.weibo.com +# > Weibo - *.uve.weibo.com,weibointl.api.weibo.cn # ^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/(actionad|sdkad)\.php - reject # ^https?:\/\/wbapp\.uve\.weibo\.com\/wbapplua\/wbpullad\.lua - reject ^https?:\/\/weibointl\.api\.weibo\.cn\/portal\.php\?a=get_coopen_ads - reject @@ -468,12 +469,13 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/\w+\.jstucdn\.com\/(g3\/|js\/ad) - reject # Z -# > Zhihu - api.zhihu.com +# > Zhihu - www.zhihu.com,api.zhihu.com ^https?:\/\/api\.zhihu\.com\/commercial_api\/ - reject ^https?:\/\/api\.zhihu\.com\/fringe\/ad - reject ^https?:\/\/api\.zhihu\.com\/ad - reject ^https?:\/\/api\.zhihu\.com\/appview\/api\/v\d\/answers\/\d+\/recommendations - reject ^https?:\/\/api\.zhihu\.com\/\w+\/\d+\/comments\/featured-comment-ad - reject +^https?:\/\/www\.zhihu\.com\/api\/v\d\/answers/\d+/recommendations - reject # > zhibo8 - a.qiumibao.com ^https?:\/\/a\.qiumibao\.com\/activities\/config\.php - reject ^https?:\/\/((25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d):\d+\/allOne\.php\?ad_name - reject @@ -493,37 +495,5 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/webboot\.zhangyue\.com\/zycl\/api\/ad\/ - reject ^https?:\/\/saad\.ms\.zhangyue\.net\/ad - reject -# > Douyin By Choler -^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/feed\/ https://aweme.snssdk.com/aweme/v1/feed/ header -^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/aweme\/post\/ https://aweme.snssdk.com/aweme/v1/aweme/post/ header -^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/follow\/feed\/ https://aweme.snssdk.com/aweme/v1/follow/feed/ header -^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/nearby\/feed\/ https://aweme.snssdk.com/aweme/v1/nearby/feed/ header -^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/search\/item\/ https://aweme.snssdk.com/aweme/v1/search/item/ header -^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/general\/search\/single\/ https://aweme.snssdk.com/aweme/v1/general/search/single/ header -^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/hot/search\/video\/list\/ https://aweme.snssdk.com/aweme/v1/hot/search/video/list/ header - -[Script] -# ---(By Choler)--- -# > Douyin -douyin = type=http-response,pattern=^https?:\/\/aweme\.snssdk\.com\/aweme\/v1\/(feed|aweme\/post|follow\/feed|nearby\/feed|search\/item|general\/search\/single|hot\/search\/video\/list)\/,requires-body=1,max-size=-1,script-path=https://Choler.github.io/Surge/Script/douyin.js -# ------ - -# ---(By yichahucha)--- -# > Weibo -weibo launch = type=http-response,pattern=^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua),requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js -weibo ad = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/photos/pic_recommend_status|video/tiny_stream_video_list|photo/info),requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js -# ------ - -# ---(By blackmatrix7)--- -# > Zhihu -知乎_处理用户信息 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/people\/,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js -知乎_信息流去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js -知乎_回答列表去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js -# > SMZDM - homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com -什么值得买_首页去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https:\/\/homepage-api.smzdm.com\/home,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js -什么值得买_好价去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https:\/\/haojia-api.smzdm.com\/home\/list\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js -什么值得买_好文去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https:\/\/article-api.smzdm.com\/article\/index_home_page,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js -# ------ - [MITM] -hostname = %APPEND% api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,prom.mobile.gome.com.cn,smkmp.96225.com,api.huomao.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn:0,ib-soft.net,www.inoreader.com,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,59.111.181.*,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,api.weibo.cn,mapi.weibo.com,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net,homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com \ No newline at end of file +hostname = %APPEND% api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,prom.mobile.gome.com.cn,smkmp.96225.com,api.huomao.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn,ib-soft.net,www.inoreader.com,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,59.111.181.*,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,www.zhihu.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net \ No newline at end of file diff --git a/Surge/Module/Block/AdvertisingPlus.sgmodule b/Surge/Module/Block/AdvertisingPlus.sgmodule new file mode 100644 index 0000000..dc3fe84 --- /dev/null +++ b/Surge/Module/Block/AdvertisingPlus.sgmodule @@ -0,0 +1,40 @@ +#!name=Block Advertising Plus +#!desc=Block Advertising with Script for Surge iOS +#!system=ios + +[URL Rewrite] +# > Douyin By Choler +^https?:\/\/(.*)\.amemv\.com\/aweme\/v2\/(follow\/)?feed\/ https://$1.amemv.com/aweme/v1/$2feed/ header + +[Script] +# ---(By Choler)--- +# > Douyin - *.amemv.com +douyin = type=http-response,pattern=^https?:\/\/.*\.amemv\.com\/aweme\/v1\/(feed|mix\/aweme|aweme\/post|(multi\/)?aweme\/detail|follow\/feed|nearby\/feed|search\/item|general\/search\/single|hot\/search\/video\/list)\/,requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/Choler/Surge/master/Script/douyin.js +# ------ + +# ---(By yichahucha)--- +# > Weibo - api.weibo.cn,mapi.weibo.com,*.uve.weibo.com +weibo_splash = type=http-response,pattern=^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua),requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js +weibo_ads = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/photos/pic_recommend_status|video/tiny_stream_video_list|photo/info),requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js +# ------ + +# ---(By blackmatrix7)--- +# > Zhihu - www.zhihu.com,api.zhihu.com +知乎_处理用户信息 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/people\/,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js +知乎_信息流去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js +知乎_回答列表去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js +知乎_预置关键词去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js + +# > SMZDM - homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com +什么值得买_首页去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https:\/\/homepage-api.smzdm.com\/home,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js +什么值得买_好价去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https:\/\/haojia-api.smzdm.com\/home\/list\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js +什么值得买_好文去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https:\/\/article-api.smzdm.com\/article\/index_home_page,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js +# ------ + +# ---(By srk24)--- +# > bilibili +Bilibili_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list,script-path=https://raw.githubusercontent.com/srk24/profile/master/bilibili_splash.js +# ------ + +[MITM] +hostname = %APPEND% *.amemv.com,api.weibo.cn,mapi.weibo.com,*.uve.weibo.com,www.zhihu.com,api.zhihu.com,homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com,app.bilibili.com \ No newline at end of file diff --git a/Surge/Module/Unlock/README.md b/Surge/Module/Unlock/README.md deleted file mode 100644 index d976e43..0000000 --- a/Surge/Module/Unlock/README.md +++ /dev/null @@ -1 +0,0 @@ -⚠️ 注意:TikTok 区域解锁模块一次只可启用一个,不可多个地区同时使用。 \ No newline at end of file diff --git a/Surge/Module/Unlock/TikTokJP.sgmodule b/Surge/Module/Unlock/TikTokJP.sgmodule index 0970635..9cf907b 100644 --- a/Surge/Module/Unlock/TikTokJP.sgmodule +++ b/Surge/Module/Unlock/TikTokJP.sgmodule @@ -1,5 +1,5 @@ #!name=Unlock TikTok JP -#!desc=Make Your Day - By wzw1997007 & Choler +#!desc=Make Your Day - By wzw1997007 & Choler.Version < 17.9.0. #!system=ios [URL Rewrite] diff --git a/Surge/Module/Unlock/TikTokKR.sgmodule b/Surge/Module/Unlock/TikTokKR.sgmodule index 545e941..ff20734 100644 --- a/Surge/Module/Unlock/TikTokKR.sgmodule +++ b/Surge/Module/Unlock/TikTokKR.sgmodule @@ -1,5 +1,5 @@ #!name=Unlock TikTok KR -#!desc=Make Your Day - By wzw1997007 & Choler +#!desc=Make Your Day - By wzw1997007 & Choler.Version < 17.9.0. #!system=ios [URL Rewrite] diff --git a/Surge/Module/Unlock/TikTokTW.sgmodule b/Surge/Module/Unlock/TikTokTW.sgmodule index 0f808e6..e623369 100644 --- a/Surge/Module/Unlock/TikTokTW.sgmodule +++ b/Surge/Module/Unlock/TikTokTW.sgmodule @@ -1,5 +1,5 @@ #!name=Unlock TikTok TW -#!desc=Make Your Day - By wzw1997007 & Choler +#!desc=Make Your Day - By wzw1997007 & Choler.Version < 17.9.0. #!system=ios [URL Rewrite] diff --git a/Surge/Module/Unlock/TikTokUK.sgmodule b/Surge/Module/Unlock/TikTokUK.sgmodule index 7cc3582..97d4b2d 100644 --- a/Surge/Module/Unlock/TikTokUK.sgmodule +++ b/Surge/Module/Unlock/TikTokUK.sgmodule @@ -1,5 +1,5 @@ #!name=Unlock TikTok UK -#!desc=Make Your Day - By wzw1997007 & Choler +#!desc=Make Your Day - By wzw1997007 & Choler.Version < 17.9.0. #!system=ios [URL Rewrite] diff --git a/Surge/Outbound.conf b/Surge/Outbound.conf index f46cad2..ac20720 100644 --- a/Surge/Outbound.conf +++ b/Surge/Outbound.conf @@ -189,19 +189,6 @@ FINAL,🧭Final,dns-failed [Host] # Firebase Cloud Messaging mtalk.google.com = 108.177.125.188 -# PCBeta -pcbeta.com = 36.27.212.81 -uc.pcbeta.com = 36.27.212.81 -m.pcbeta.com = 36.27.212.81 -mac.pcbeta.com = 36.27.212.81 -static.template.pcbeta.com = 36.27.212.81 -web.pcbeta.com = 36.27.212.81 -i.pcbeta.com = 36.27.212.81 -bbs.pcbeta.com = 36.27.212.81 -www.pcbeta.com = 36.27.212.81 -cdn.pcbeta.attachment.inimc.com = 36.27.212.81 -cdn.pcbeta.static.inimc.com = 36.27.212.81 -cdn.pcbeta.css.inimc.com = 36.27.212.81 [Header Rewrite] diff --git a/Surge/OutboundLegacy.conf b/Surge/OutboundLegacy.conf index 8e1119c..1d64ea0 100644 --- a/Surge/OutboundLegacy.conf +++ b/Surge/OutboundLegacy.conf @@ -1117,7 +1117,6 @@ DOMAIN,hamifans.emome.net,🎞Streaming USER-AGENT,TikTok*,🎞Streaming DOMAIN-SUFFIX,byteoversea.com,🎞Streaming DOMAIN-SUFFIX,ibytedtos.com,🎞Streaming -DOMAIN-SUFFIX,ipstatp.com,🎞Streaming DOMAIN-SUFFIX,muscdn.com,🎞Streaming DOMAIN-SUFFIX,musical.ly,🎞Streaming DOMAIN-SUFFIX,tiktok.com,🎞Streaming @@ -1169,9 +1168,11 @@ DOMAIN-SUFFIX,getoutline.org,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,gvt0.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,gvt3.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,xn--ngstr-lra8j.com,🌑Proxy,force-remote-dns +DOMAIN-SUFFIX,ytimg.com,🌑Proxy,force-remote-dns DOMAIN-KEYWORD,google,🌑Proxy,force-remote-dns DOMAIN-KEYWORD,.blogspot.,🌑Proxy,force-remote-dns # > Microsoft +DOMAIN-SUFFIX,aka.ms,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,onedrive.live.com,🌑Proxy,force-remote-dns DOMAIN,az416426.vo.msecnd.net,🌑Proxy,force-remote-dns DOMAIN,az668014.vo.msecnd.net,🌑Proxy,force-remote-dns @@ -1223,11 +1224,15 @@ IP-CIDR,103.2.30.0/23,🌑Proxy,no-resolve IP-CIDR,125.209.208.0/20,🌑Proxy,no-resolve IP-CIDR,147.92.128.0/17,🌑Proxy,no-resolve IP-CIDR,203.104.144.0/21,🌑Proxy,no-resolve +# > Amazon +DOMAIN-SUFFIX,amazon.co.jp,🌑Proxy,force-remote-dns +DOMAIN,d3c33hcgiwev3.cloudfront.net,🌑Proxy,force-remote-dns +DOMAIN,payments-jp.amazon.com,🌑Proxy,force-remote-dns +DOMAIN,s3-ap-northeast-1.amazonaws.com,🌑Proxy,force-remote-dns +DOMAIN,s3-ap-southeast-2.amazonaws.com,🌑Proxy,force-remote-dns # > Akamai DOMAIN,a248.e.akamai.net,🌑Proxy,force-remote-dns DOMAIN,a771.dscq.akamai.net,🌑Proxy,force-remote-dns -# > Amazon CloudFront -DOMAIN,d3c33hcgiwev3.cloudfront.net,🌑Proxy,force-remote-dns # > Others DOMAIN-SUFFIX,4shared.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,9cache.com,🌑Proxy,force-remote-dns @@ -1235,7 +1240,6 @@ DOMAIN-SUFFIX,9gag.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,abc.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,abc.net.au,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,abebooks.com,🌑Proxy,force-remote-dns -DOMAIN-SUFFIX,amazon.co.jp,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,ao3.org,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,apigee.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,apkcombo.com,🌑Proxy,force-remote-dns @@ -1349,6 +1353,7 @@ DOMAIN-SUFFIX,ft.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,ftchinese.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,ftimg.net,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,gate.io,🌑Proxy,force-remote-dns +DOMAIN-SUFFIX,genius.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,getlantern.org,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,getsync.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,github.com,🌑Proxy,force-remote-dns @@ -1512,6 +1517,7 @@ DOMAIN-SUFFIX,steamcommunity.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,steemit.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,steemitwallet.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,straitstimes.com,🌑Proxy,force-remote-dns +DOMAIN-SUFFIX,streamable.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,streema.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,t66y.com,🌑Proxy,force-remote-dns DOMAIN-SUFFIX,tapatalk.com,🌑Proxy,force-remote-dns @@ -1587,9 +1593,6 @@ DOMAIN-SUFFIX,zoom.us,🌑Proxy,force-remote-dns DOMAIN,cc.tvbs.com.tw,🌑Proxy,force-remote-dns DOMAIN,ocsp.int-x3.letsencrypt.org,🌑Proxy,force-remote-dns -DOMAIN,payments-jp.amazon.com,🌑Proxy,force-remote-dns -DOMAIN,s3-ap-northeast-1.amazonaws.com,🌑Proxy,force-remote-dns -DOMAIN,s3-ap-southeast-2.amazonaws.com,🌑Proxy,force-remote-dns DOMAIN,search.avira.com,🌑Proxy,force-remote-dns DOMAIN,us.weibo.com,🌑Proxy,force-remote-dns @@ -1704,6 +1707,7 @@ DOMAIN-SUFFIX,inkbunny.net,🌑Proxy DOMAIN-SUFFIX,metapix.net,🌑Proxy DOMAIN-SUFFIX,s3.amazonaws.com,🌑Proxy DOMAIN-SUFFIX,zaobao.com.sg,🌑Proxy +DOMAIN,ocsp.apple.com,🌑Proxy # China Area Network # > 360 @@ -1946,7 +1950,6 @@ DOMAIN-SUFFIX,amd.com,🌐Direct DOMAIN-SUFFIX,b612.net,🌐Direct DOMAIN-SUFFIX,bdatu.com,🌐Direct DOMAIN-SUFFIX,beitaichufang.com,🌐Direct -DOMAIN-SUFFIX,bjango.com,🌐Direct DOMAIN-SUFFIX,booking.com,🌐Direct DOMAIN-SUFFIX,bstatic.com,🌐Direct DOMAIN-SUFFIX,cailianpress.com,🌐Direct @@ -2122,19 +2125,6 @@ FINAL,🧭Final,dns-failed [Host] # Firebase Cloud Messaging mtalk.google.com = 108.177.125.188 -# PCBeta -pcbeta.com = 36.27.212.81 -uc.pcbeta.com = 36.27.212.81 -m.pcbeta.com = 36.27.212.81 -mac.pcbeta.com = 36.27.212.81 -static.template.pcbeta.com = 36.27.212.81 -web.pcbeta.com = 36.27.212.81 -i.pcbeta.com = 36.27.212.81 -bbs.pcbeta.com = 36.27.212.81 -www.pcbeta.com = 36.27.212.81 -cdn.pcbeta.attachment.inimc.com = 36.27.212.81 -cdn.pcbeta.static.inimc.com = 36.27.212.81 -cdn.pcbeta.css.inimc.com = 36.27.212.81 # CUSTOM HOST diff --git a/Surge/Ruleset/China.list b/Surge/Ruleset/China.list index b39c1a3..3ec354b 100644 --- a/Surge/Ruleset/China.list +++ b/Surge/Ruleset/China.list @@ -247,7 +247,6 @@ DOMAIN-SUFFIX,amd.com DOMAIN-SUFFIX,b612.net DOMAIN-SUFFIX,bdatu.com DOMAIN-SUFFIX,beitaichufang.com -DOMAIN-SUFFIX,bjango.com DOMAIN-SUFFIX,booking.com DOMAIN-SUFFIX,bstatic.com DOMAIN-SUFFIX,cailianpress.com diff --git a/Surge/Ruleset/Global.list b/Surge/Ruleset/Global.list index 9af6d39..f223d9b 100644 --- a/Surge/Ruleset/Global.list +++ b/Surge/Ruleset/Global.list @@ -8,9 +8,11 @@ DOMAIN-SUFFIX,getoutline.org DOMAIN-SUFFIX,gvt0.com DOMAIN-SUFFIX,gvt3.com DOMAIN-SUFFIX,xn--ngstr-lra8j.com +DOMAIN-SUFFIX,ytimg.com DOMAIN-KEYWORD,google DOMAIN-KEYWORD,.blogspot. # > Microsoft +DOMAIN-SUFFIX,aka.ms DOMAIN-SUFFIX,onedrive.live.com DOMAIN,az416426.vo.msecnd.net DOMAIN,az668014.vo.msecnd.net @@ -62,11 +64,15 @@ IP-CIDR,103.2.30.0/23,no-resolve IP-CIDR,125.209.208.0/20,no-resolve IP-CIDR,147.92.128.0/17,no-resolve IP-CIDR,203.104.144.0/21,no-resolve +# > Amazon +DOMAIN-SUFFIX,amazon.co.jp +DOMAIN,d3c33hcgiwev3.cloudfront.net +DOMAIN,payments-jp.amazon.com +DOMAIN,s3-ap-northeast-1.amazonaws.com +DOMAIN,s3-ap-southeast-2.amazonaws.com # > Akamai DOMAIN,a248.e.akamai.net DOMAIN,a771.dscq.akamai.net -# > Amazon CloudFront -DOMAIN,d3c33hcgiwev3.cloudfront.net # > Others DOMAIN-SUFFIX,4shared.com DOMAIN-SUFFIX,9cache.com @@ -74,7 +80,6 @@ DOMAIN-SUFFIX,9gag.com DOMAIN-SUFFIX,abc.com DOMAIN-SUFFIX,abc.net.au DOMAIN-SUFFIX,abebooks.com -DOMAIN-SUFFIX,amazon.co.jp DOMAIN-SUFFIX,ao3.org DOMAIN-SUFFIX,apigee.com DOMAIN-SUFFIX,apkcombo.com @@ -188,6 +193,7 @@ DOMAIN-SUFFIX,ft.com DOMAIN-SUFFIX,ftchinese.com DOMAIN-SUFFIX,ftimg.net DOMAIN-SUFFIX,gate.io +DOMAIN-SUFFIX,genius.com DOMAIN-SUFFIX,getlantern.org DOMAIN-SUFFIX,getsync.com DOMAIN-SUFFIX,github.com @@ -351,6 +357,7 @@ DOMAIN-SUFFIX,steamcommunity.com DOMAIN-SUFFIX,steemit.com DOMAIN-SUFFIX,steemitwallet.com DOMAIN-SUFFIX,straitstimes.com +DOMAIN-SUFFIX,streamable.com DOMAIN-SUFFIX,streema.com DOMAIN-SUFFIX,t66y.com DOMAIN-SUFFIX,tapatalk.com @@ -426,9 +433,6 @@ DOMAIN-SUFFIX,zoom.us DOMAIN,cc.tvbs.com.tw DOMAIN,ocsp.int-x3.letsencrypt.org -DOMAIN,payments-jp.amazon.com -DOMAIN,s3-ap-northeast-1.amazonaws.com -DOMAIN,s3-ap-southeast-2.amazonaws.com DOMAIN,search.avira.com DOMAIN,us.weibo.com @@ -495,12 +499,7 @@ DOMAIN-SUFFIX,tdesktop.com DOMAIN-SUFFIX,telegram.me DOMAIN-SUFFIX,telesco.pe # > Facebook -DOMAIN-SUFFIX,facebook.br -DOMAIN-SUFFIX,facebook.design -DOMAIN-SUFFIX,facebook.hu -DOMAIN-SUFFIX,facebook.in -DOMAIN-SUFFIX,facebook.nl -DOMAIN-SUFFIX,facebook.se +DOMAIN-KEYWORD,.facebook. DOMAIN-SUFFIX,facebookmail.com # > Others DOMAIN-SUFFIX,noxinfluencer.com @@ -542,4 +541,5 @@ DOMAIN-SUFFIX,cloudcone.com.cn DOMAIN-SUFFIX,inkbunny.net DOMAIN-SUFFIX,metapix.net DOMAIN-SUFFIX,s3.amazonaws.com -DOMAIN-SUFFIX,zaobao.com.sg \ No newline at end of file +DOMAIN-SUFFIX,zaobao.com.sg +DOMAIN,ocsp.apple.com \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Streaming.list b/Surge/Ruleset/StreamingMedia/Streaming.list index 2c3cd3c..71c3998 100644 --- a/Surge/Ruleset/StreamingMedia/Streaming.list +++ b/Surge/Ruleset/StreamingMedia/Streaming.list @@ -240,7 +240,6 @@ DOMAIN,hamifans.emome.net USER-AGENT,TikTok* DOMAIN-SUFFIX,byteoversea.com DOMAIN-SUFFIX,ibytedtos.com -DOMAIN-SUFFIX,ipstatp.com DOMAIN-SUFFIX,muscdn.com DOMAIN-SUFFIX,musical.ly DOMAIN-SUFFIX,tiktok.com diff --git a/Surge/Ruleset/StreamingMedia/Video/YouTube.list b/Surge/Ruleset/StreamingMedia/Video/YouTube.list index 8f94ba2..f13e39c 100644 --- a/Surge/Ruleset/StreamingMedia/Video/YouTube.list +++ b/Surge/Ruleset/StreamingMedia/Video/YouTube.list @@ -3,4 +3,6 @@ USER-AGENT,com.google.ios.youtube* USER-AGENT,YouTube* DOMAIN-SUFFIX,googlevideo.com DOMAIN-SUFFIX,youtube.com -DOMAIN,youtubei.googleapis.com \ No newline at end of file +DOMAIN-SUFFIX,ytimg.com +DOMAIN,youtubei.googleapis.com +DOMAIN,yt3.ggpht.com \ No newline at end of file diff --git a/Surge/Ruleset/Unbreak.list b/Surge/Ruleset/Unbreak.list index 108089e..c3fdd7c 100644 --- a/Surge/Ruleset/Unbreak.list +++ b/Surge/Ruleset/Unbreak.list @@ -21,6 +21,7 @@ DOMAIN,mtalk.google.com // Firebase Cloud Messaging DOMAIN,translate.googleapis.com DOMAIN,update.googleapis.com # > Tencent +DOMAIN,fairplay.l.qq.com DOMAIN,livew.l.qq.com DOMAIN,vd.l.qq.com # > Strava diff --git a/Surge/Shortcuts/hostname.txt b/Surge/Shortcuts/hostname.txt index 857cd80..e53efc9 100644 --- a/Surge/Shortcuts/hostname.txt +++ b/Surge/Shortcuts/hostname.txt @@ -1 +1 @@ -api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,prom.mobile.gome.com.cn,smkmp.96225.com,api.huomao.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn:0,ib-soft.net,www.inoreader.com,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,59.111.181.*,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,api.weibo.cn,mapi.weibo.com,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net \ No newline at end of file +api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,*.amemv.com,*.snssdk.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,cube.elemecdn.com,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,prom.mobile.gome.com.cn,smkmp.96225.com,api.huomao.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn,ib-soft.net,www.inoreader.com,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,richmanapi.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,59.111.181.*,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net \ No newline at end of file diff --git a/Surge/Shortcuts/reject.txt b/Surge/Shortcuts/reject.txt index 2772020..8cac1ae 100644 --- a/Surge/Shortcuts/reject.txt +++ b/Surge/Shortcuts/reject.txt @@ -56,6 +56,7 @@ ^https?:\/\/c\.tieba\.baidu\.com\/c\/s\/splashSchedule - reject ^https?:\/\/c\.tieba\.baidu\.com\/c\/f\/forum\/getAdInfo - reject ^https?:\/\/c\.tieba\.baidu\.com\/\w+\/\w+\/(sync|newRnSync|mlog) - reject +^https?:\/\/((25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\/\w+\/\w+\/(sync|newRnSync|mlog) - reject # > Baidu Map - newclient.map.baidu.com ^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads - reject # > Baidu InputMethod - mime.baidu.com @@ -331,9 +332,9 @@ # S # ---(Sina)--- -# > Weibo - *.uve.weibo.com,weibointl.api.weibo.cn,api.weibo.cn, mapi.weibo.com -# ^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/(actionad|sdkad)\.php - reject -# ^https?:\/\/wbapp\.uve\.weibo\.com\/wbapplua\/wbpullad\.lua - reject +# > Weibo - *.uve.weibo.com,weibointl.api.weibo.cn +^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/(actionad|sdkad)\.php - reject +^https?:\/\/wbapp\.uve\.weibo\.com\/wbapplua\/wbpullad\.lua - reject ^https?:\/\/weibointl\.api\.weibo\.cn\/portal\.php\?a=get_coopen_ads - reject # > tianqitong - tqt.weibo.cn ^https?:\/\/tqt\.weibo\.cn\/overall\/redirect\.php\?r=(tqt_sdkad|tqtad) - reject @@ -460,11 +461,13 @@ # Z # > Zhihu - api.zhihu.com -^https?:\/\/api\.zhihu\.com\/commercial_api\/ - reject -^https?:\/\/api\.zhihu\.com\/fringe\/ad - reject -^https?:\/\/api\.zhihu\.com\/ad - reject -^https?:\/\/api\.zhihu\.com\/appview\/api\/v\d\/answers\/\d+\/recommendations - reject -^https?:\/\/api\.zhihu\.com\/\w+\/\d+\/comments\/featured-comment-ad - reject +# ^https?:\/\/api\.zhihu\.com\/commercial_api\/ - reject +# ^https?:\/\/api\.zhihu\.com\/fringe\/ad - reject +# ^https?:\/\/api\.zhihu\.com\/ad - reject +# ^https?:\/\/api\.zhihu\.com\/appview\/api\/v\d\/answers\/\d+\/recommendations - reject +# ^https?:\/\/api\.zhihu\.com\/\w+\/\d+\/comments\/featured-comment-ad - reject +^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) - reject +^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription) - reject # > zhibo8 - a.qiumibao.com ^https?:\/\/a\.qiumibao\.com\/activities\/config\.php - reject ^https?:\/\/((25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d{2}|[1-9]?\d):\d+\/allOne\.php\?ad_name - reject