From 95da6e5479e5f620cb3af2e67b27ce8ad8a0d481 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Wed, 11 Nov 2020 11:00:03 +0800 Subject: [PATCH 01/17] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Block/Advertising.conf | 17 ++++------------- Surge/Module/Block/Advertising.sgmodule | 20 +++++++------------- Surge/Shortcuts/hostname.txt | 2 +- Surge/Shortcuts/reject.txt | 6 +++--- 4 files changed, 15 insertions(+), 30 deletions(-) diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index 5faa241..191259f 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -1,16 +1,7 @@ -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 +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,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 # 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 @@ -360,9 +351,9 @@ 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 -# ^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/(actionad|sdkad)\.php url reject -# ^https?:\/\/wbapp\.uve\.weibo\.com\/wbapplua\/wbpullad\.lua url reject +# > 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 # > tianqitong - tqt.weibo.cn ^https?:\/\/tqt\.weibo\.cn\/overall\/redirect\.php\?r=(tqt_sdkad|tqtad) url reject diff --git a/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index 2c54b63..6d22c2b 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -340,9 +340,9 @@ 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 -# ^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 @@ -494,8 +494,8 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^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|aweme\.snssdk)\.com\/aweme\/v\d\/feed\/ https://$1.com/aweme/v1/feed/ header +^https?:\/\/(.*\.amemv|aweme\.snssdk)\.com\/aweme\/v\d\/aweme\/post\/ https://$1.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 @@ -505,13 +505,7 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI [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 +douyin = type=http-response,pattern= ^https?:\/\/(.*\.amemv|aweme\.snssdk)\.com\/aweme\/v1\/(feed|aweme\/post|aweme\/detail|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 blackmatrix7)--- @@ -526,4 +520,4 @@ weibo ad = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(statuse # ------ [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,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/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..8bcc276 100644 --- a/Surge/Shortcuts/reject.txt +++ b/Surge/Shortcuts/reject.txt @@ -331,9 +331,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 From 031b4f522de3a0af71c47e60c838cedba553ee4a Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Thu, 12 Nov 2020 22:07:08 +0800 Subject: [PATCH 02/17] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Block/Advertising.conf | 18 ++++++++++++------ Surge/Module/Block/Advertising.sgmodule | 22 ++++++++++++++++------ Surge/Shortcuts/reject.txt | 12 +++++++----- 3 files changed, 35 insertions(+), 17 deletions(-) diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index 191259f..ef7ebb0 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -1,6 +1,10 @@ -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,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 +hostname = api.weibo.cn,www.zhihu.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,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net # Script +# ---(By yichahucha)--- +# > Weibo - api.weibo.cn +^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 @@ -480,11 +484,13 @@ hostname = api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn # Z # > Zhihu - 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?:\/\/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?:\/\/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) url reject +^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription) 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/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index 6d22c2b..dd08c98 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -469,11 +469,13 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI # 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 @@ -508,11 +510,19 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI douyin = type=http-response,pattern= ^https?:\/\/(.*\.amemv|aweme\.snssdk)\.com\/aweme\/v1\/(feed|aweme\/post|aweme\/detail|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 - api.weibo.cn +weibo = 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 +知乎_预置关键词去广告 = 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 什么值得买_首页去广告 = 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 @@ -520,4 +530,4 @@ douyin = type=http-response,pattern= ^https?:\/\/(.*\.amemv|aweme\.snssdk)\.com\ # ------ [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,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 +hostname = %APPEND% api.weibo.cn,www.zhihu.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,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 8bcc276..10325e6 100644 --- a/Surge/Shortcuts/reject.txt +++ b/Surge/Shortcuts/reject.txt @@ -460,11 +460,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 From abf3577c764523536043e33314a512bad184e226 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Thu, 12 Nov 2020 22:21:56 +0800 Subject: [PATCH 03/17] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Block/Advertising.conf | 4 ++-- Surge/Module/Block/Advertising.sgmodule | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index ef7ebb0..70d1c30 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -1,8 +1,8 @@ -hostname = api.weibo.cn,www.zhihu.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,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net +hostname = api.weibo.cn,mapi.weibo.com,www.zhihu.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,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net # Script # ---(By yichahucha)--- -# > Weibo - api.weibo.cn +# > Weibo - api.weibo.cn,mapi.weibo.com ^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 # ------ diff --git a/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index dd08c98..344dd08 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -511,7 +511,7 @@ douyin = type=http-response,pattern= ^https?:\/\/(.*\.amemv|aweme\.snssdk)\.com\ # ------ # ---(By yichahucha)--- -# > Weibo - api.weibo.cn +# > Weibo - api.weibo.cn,mapi.weibo.com weibo = 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 # ------ @@ -530,4 +530,4 @@ weibo = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(statuses/( # ------ [MITM] -hostname = %APPEND% api.weibo.cn,www.zhihu.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,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 +hostname = %APPEND% api.weibo.cn,mapi.weibo.com,www.zhihu.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,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 From 6ac0496381cd1f3f4bbff0b8ae1a9c70a2e684c7 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Fri, 13 Nov 2020 19:54:17 +0800 Subject: [PATCH 04/17] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Outbound.conf | 6 ------ Surge/Module/Unlock/TikTokJP.sgmodule | 2 +- Surge/Module/Unlock/TikTokKR.sgmodule | 2 +- Surge/Module/Unlock/TikTokTW.sgmodule | 2 +- Surge/Module/Unlock/TikTokUK.sgmodule | 2 +- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Quantumult/Outbound.conf b/Quantumult/Outbound.conf index e863da0..9dbf857 100644 --- a/Quantumult/Outbound.conf +++ b/Quantumult/Outbound.conf @@ -172,12 +172,6 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrit # YouTube 广告 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/YouTubeAds.conf, tag=🛡Premium 勿用且版本需 ≤ 15.26.4, update-interval=86400, enabled=false -# 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 - [server_local] # # 只有 obfs=http, obfs=ws, obfs=ws, obfs=wss 可以有可选的「obfs-uri」字段。 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] From 222e22840ecb852a0eceb46a840b028152bb2abc Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Fri, 13 Nov 2020 19:54:30 +0800 Subject: [PATCH 05/17] =?UTF-8?q?=F0=9F=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Unlock/README.md | 2 +- Surge/Module/Unlock/README.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 Surge/Module/Unlock/README.md 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/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 From 9859dcd652fbec4aaf7d620da63bfba0b9d5a189 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Sun, 15 Nov 2020 23:48:22 +0800 Subject: [PATCH 06/17] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Clash/Outbound.yaml | 14 +++++++++----- Clash/RuleSet/Global.yaml | 25 ++++++++++++------------- Quantumult/Filter/Global.list | 18 +++++++++++------- Surge/OutboundLegacy.conf | 16 ++++++++++------ Surge/Ruleset/Global.list | 25 ++++++++++++------------- 5 files changed, 54 insertions(+), 44 deletions(-) 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/Global.yaml b/Clash/RuleSet/Global.yaml index e49f89d..d56092c 100644 --- a/Clash/RuleSet/Global.yaml +++ b/Clash/RuleSet/Global.yaml @@ -12,6 +12,7 @@ payload: - 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 +64,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 +80,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 +193,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 +357,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 +433,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 +499,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 +541,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/Quantumult/Filter/Global.list b/Quantumult/Filter/Global.list index a13d192..0ca5be4 100644 --- a/Quantumult/Filter/Global.list +++ b/Quantumult/Filter/Global.list @@ -11,6 +11,7 @@ DOMAIN-SUFFIX,xn--ngstr-lra8j.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 +63,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 +79,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 +192,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 +356,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 +432,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 +530,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/Surge/OutboundLegacy.conf b/Surge/OutboundLegacy.conf index 8e1119c..406006c 100644 --- a/Surge/OutboundLegacy.conf +++ b/Surge/OutboundLegacy.conf @@ -1172,6 +1172,7 @@ DOMAIN-SUFFIX,xn--ngstr-lra8j.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 diff --git a/Surge/Ruleset/Global.list b/Surge/Ruleset/Global.list index 9af6d39..6719a92 100644 --- a/Surge/Ruleset/Global.list +++ b/Surge/Ruleset/Global.list @@ -11,6 +11,7 @@ DOMAIN-SUFFIX,xn--ngstr-lra8j.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 +63,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 +79,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 +192,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 +356,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 +432,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 +498,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 +540,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 From c9a8bab79353724018bb15df416dd69d9e928aff Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Tue, 17 Nov 2020 13:30:32 +0800 Subject: [PATCH 07/17] =?UTF-8?q?=F0=9F=9A=A9=20#64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Clash/RuleSet/Unbreak.yaml | 1 + Quantumult/Filter/Unbreak.list | 1 + Surge/Ruleset/Unbreak.list | 1 + 3 files changed, 3 insertions(+) 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/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/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 From 115694d42acd932f4d446d649a65cf09a25de27e Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Tue, 17 Nov 2020 20:50:27 +0800 Subject: [PATCH 08/17] =?UTF-8?q?=F0=9F=9A=A9=20Remove=20PCBeta=20hosts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Outbound.conf | 13 ------------- Surge/Outbound.conf | 13 ------------- Surge/OutboundLegacy.conf | 13 ------------- 3 files changed, 39 deletions(-) diff --git a/Quantumult/Outbound.conf b/Quantumult/Outbound.conf index 9dbf857..b3718c8 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 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 406006c..9692b3b 100644 --- a/Surge/OutboundLegacy.conf +++ b/Surge/OutboundLegacy.conf @@ -2126,19 +2126,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 From 1dc12b079580c39f244d5ef4435c2c4f9939577e Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Tue, 17 Nov 2020 20:57:44 +0800 Subject: [PATCH 09/17] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Clash/RuleSet/Global.yaml | 1 + Quantumult/Filter/Global.list | 1 + Quantumult/Filter/StreamingMedia/Video/YouTube.list | 4 +++- Surge/OutboundLegacy.conf | 1 + Surge/Ruleset/Global.list | 1 + Surge/Ruleset/StreamingMedia/Video/YouTube.list | 4 +++- 6 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Clash/RuleSet/Global.yaml b/Clash/RuleSet/Global.yaml index d56092c..af84cd5 100644 --- a/Clash/RuleSet/Global.yaml +++ b/Clash/RuleSet/Global.yaml @@ -9,6 +9,7 @@ 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 diff --git a/Quantumult/Filter/Global.list b/Quantumult/Filter/Global.list index 0ca5be4..d71e9de 100644 --- a/Quantumult/Filter/Global.list +++ b/Quantumult/Filter/Global.list @@ -8,6 +8,7 @@ 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 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/Surge/OutboundLegacy.conf b/Surge/OutboundLegacy.conf index 9692b3b..8e8e097 100644 --- a/Surge/OutboundLegacy.conf +++ b/Surge/OutboundLegacy.conf @@ -1169,6 +1169,7 @@ 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 diff --git a/Surge/Ruleset/Global.list b/Surge/Ruleset/Global.list index 6719a92..f223d9b 100644 --- a/Surge/Ruleset/Global.list +++ b/Surge/Ruleset/Global.list @@ -8,6 +8,7 @@ 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 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 From c6609bb721c3dcca2cdd20f3ef5f9e8975836415 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Wed, 18 Nov 2020 21:40:17 +0800 Subject: [PATCH 10/17] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Block/Advertising.conf | 14 ++++++++++---- Surge/Module/Block/Advertising.sgmodule | 13 +++++++++---- Surge/Shortcuts/reject.txt | 1 + 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index 70d1c30..607d687 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -1,8 +1,9 @@ -hostname = api.weibo.cn,mapi.weibo.com,www.zhihu.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,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net +hostname = -lark-frontier-hl.snssdk.com,api.weibo.cn,mapi.weibo.com,www.zhihu.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,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net # Script # ---(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 # ------ @@ -11,10 +12,14 @@ hostname = api.weibo.cn,mapi.weibo.com,www.zhihu.com,api.21jingji.com,service.4g ^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 + +# > bilibili +^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js # ------ # > WeChat Official Account @@ -80,6 +85,7 @@ hostname = api.weibo.cn,mapi.weibo.com,www.zhihu.com,api.21jingji.com,service.4g ^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 @@ -91,7 +97,7 @@ hostname = api.weibo.cn,mapi.weibo.com,www.zhihu.com,api.21jingji.com,service.4g ^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 @@ -356,8 +362,8 @@ hostname = api.weibo.cn,mapi.weibo.com,www.zhihu.com,api.21jingji.com,service.4g # S # ---(Sina)--- # > 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?:\/\/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 # > tianqitong - tqt.weibo.cn ^https?:\/\/tqt\.weibo\.cn\/overall\/redirect\.php\?r=(tqt_sdkad|tqtad) url reject diff --git a/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index 344dd08..35cf513 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 @@ -341,8 +342,8 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI # S # ---(Sina)--- # > 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?:\/\/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 @@ -512,7 +513,8 @@ douyin = type=http-response,pattern= ^https?:\/\/(.*\.amemv|aweme\.snssdk)\.com\ # ---(By yichahucha)--- # > Weibo - api.weibo.cn,mapi.weibo.com -weibo = 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 +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)--- @@ -527,6 +529,9 @@ weibo = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(statuses/( 什么值得买_首页去广告 = 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 + +# > 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/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js # ------ [MITM] diff --git a/Surge/Shortcuts/reject.txt b/Surge/Shortcuts/reject.txt index 10325e6..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 From 7ee32b80d36ce82def32deb0fc075ab04f4b895b Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Tue, 1 Dec 2020 23:01:52 +0800 Subject: [PATCH 11/17] =?UTF-8?q?=F0=9F=9A=A9=20#66?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Block/Advertising.conf | 4 +++- Surge/Module/Block/Advertising.sgmodule | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index 607d687..e839122 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -17,9 +17,11 @@ hostname = -lark-frontier-hl.snssdk.com,api.weibo.cn,mapi.weibo.com,www.zhihu.co ^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/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js +^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list url script-response-body https://raw.githubusercontent.com/srk24/profile/master/bilibili_splash.js # ------ # > WeChat Official Account diff --git a/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index 35cf513..adc1136 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -518,7 +518,6 @@ weibo_ads = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(status # ------ # ---(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 @@ -529,9 +528,11 @@ weibo_ads = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(status 什么值得买_首页去广告 = 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/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js +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] From b50f8ff4e60420ef9fd87bf94f9877be1ce85e15 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Tue, 1 Dec 2020 23:20:47 +0800 Subject: [PATCH 12/17] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Block/Advertising.conf | 6 ++++++ Surge/Module/Block/Advertising.sgmodule | 10 ++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index e839122..32edb2c 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -1,6 +1,12 @@ hostname = -lark-frontier-hl.snssdk.com,api.weibo.cn,mapi.weibo.com,www.zhihu.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,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net # Script +# ---(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 diff --git a/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index adc1136..46a5d7c 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -497,18 +497,12 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/saad\.ms\.zhangyue\.net\/ad - reject # > Douyin By Choler -^https?:\/\/(.*\.amemv|aweme\.snssdk)\.com\/aweme\/v\d\/feed\/ https://$1.com/aweme/v1/feed/ header -^https?:\/\/(.*\.amemv|aweme\.snssdk)\.com\/aweme\/v\d\/aweme\/post\/ https://$1.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 +^https?:\/\/(.*)\.amemv\.com\/aweme\/v2\/(follow\/)?feed\/ https://$1.amemv.com/aweme/v1/$2feed/ header [Script] # ---(By Choler)--- # > Douyin -douyin = type=http-response,pattern= ^https?:\/\/(.*\.amemv|aweme\.snssdk)\.com\/aweme\/v1\/(feed|aweme\/post|aweme\/detail|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 +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)--- From 4a8a5f29f6705c148ae3cefc07ead91580006122 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Tue, 1 Dec 2020 23:27:53 +0800 Subject: [PATCH 13/17] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Clash/RuleSet/China.yaml | 1 - Clash/RuleSet/StreamingMedia/Streaming.yaml | 1 - Quantumult/Filter/China.list | 1 - Quantumult/Filter/StreamingMedia/Streaming.list | 1 - Surge/OutboundLegacy.conf | 2 -- Surge/Ruleset/China.list | 1 - Surge/Ruleset/StreamingMedia/Streaming.list | 1 - 7 files changed, 8 deletions(-) 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/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/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/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/Surge/OutboundLegacy.conf b/Surge/OutboundLegacy.conf index 8e8e097..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 @@ -1951,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 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/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 From 345d73b98601b320b07eafc6ceb3365a379d330a Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Mon, 7 Dec 2020 19:51:28 +0800 Subject: [PATCH 14/17] =?UTF-8?q?=F0=9F=9A=A9=20Advertising+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Outbound.conf | 5 +- Quantumult/Rewrite/Block/Advertising.conf | 46 +++-------------- Quantumult/Rewrite/Block/AdvertisingPlus.conf | 30 ++++++++++++ Surge/Module/Block/Advertising.sgmodule | 49 +++---------------- Surge/Module/Block/AdvertisingPlus.sgmodule | 40 +++++++++++++++ 5 files changed, 88 insertions(+), 82 deletions(-) create mode 100644 Quantumult/Rewrite/Block/AdvertisingPlus.conf create mode 100644 Surge/Module/Block/AdvertisingPlus.sgmodule diff --git a/Quantumult/Outbound.conf b/Quantumult/Outbound.conf index b3718c8..ff377a0 100644 --- a/Quantumult/Outbound.conf +++ b/Quantumult/Outbound.conf @@ -154,7 +154,10 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter 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 +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=🛡Advertising, update-interval=86400, enabled=true + +# Advertising+ 广告 +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=🛡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 diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index 32edb2c..b5133e1 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -1,34 +1,4 @@ -hostname = -lark-frontier-hl.snssdk.com,api.weibo.cn,mapi.weibo.com,www.zhihu.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,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net - -# Script -# ---(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 -# ------ +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":[], @@ -497,14 +467,12 @@ hostname = -lark-frontier-hl.snssdk.com,api.weibo.cn,mapi.weibo.com,www.zhihu.co ^https?:\/\/\w+\.jstucdn\.com\/(g3\/|js\/ad) url reject # Z -# > Zhihu - 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?:\/\/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) url reject -^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription) url reject +# > 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?:\/\/(www|api)\.zhihu\.com\/appview\/api\/v\d\/answers\/\d+\/recommendations url reject +^https?:\/\/api\.zhihu\.com\/\w+\/\d+\/comments\/featured-comment-ad 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/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index 46a5d7c..0750eae 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -469,14 +469,12 @@ 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 -# ^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 +# > 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?:\/\/(www|api)\.zhihu\.com\/appview\/api\/v\d\/answers\/\d+\/recommendations - reject +^https?:\/\/api\.zhihu\.com\/\w+\/\d+\/comments\/featured-comment-ad - 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 @@ -496,38 +494,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\/v2\/(follow\/)?feed\/ https://$1.amemv.com/aweme/v1/$2feed/ header - -[Script] -# ---(By Choler)--- -# > Douyin -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 -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 -知乎_处理用户信息 = 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 -什么值得买_首页去广告 = 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% api.weibo.cn,mapi.weibo.com,www.zhihu.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,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 +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 From 58bbe86327b127f48815845344d4f0c7a192c42a Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Mon, 7 Dec 2020 20:05:08 +0800 Subject: [PATCH 15/17] =?UTF-8?q?=F0=9F=9A=A9=20Update=20rewrite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Surge/Module/Block/Advertising.sgmodule | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index 0750eae..3f05b59 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -473,8 +473,9 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/api\.zhihu\.com\/commercial_api\/ - reject ^https?:\/\/api\.zhihu\.com\/fringe\/ad - reject ^https?:\/\/api\.zhihu\.com\/ad - reject -^https?:\/\/(www|api)\.zhihu\.com\/appview\/api\/v\d\/answers\/\d+\/recommendations - 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 From 59859f295e131bc01834035d7b5afc871e2e02f4 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Mon, 7 Dec 2020 20:05:39 +0800 Subject: [PATCH 16/17] =?UTF-8?q?=F0=9F=9A=A9=20Update=20rewrite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Block/Advertising.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index b5133e1..71d8a13 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -471,8 +471,9 @@ hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58. ^https?:\/\/api\.zhihu\.com\/commercial_api\/ url reject ^https?:\/\/api\.zhihu\.com\/fringe\/ad url reject ^https?:\/\/api\.zhihu\.com\/ad url reject -^https?:\/\/(www|api)\.zhihu\.com\/appview\/api\/v\d\/answers\/\d+\/recommendations 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 From 2ea72ec7b17791cbda214f917833d75a77a252dc Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Mon, 7 Dec 2020 20:13:24 +0800 Subject: [PATCH 17/17] =?UTF-8?q?=F0=9F=9A=A9=20Update=20profile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Outbound.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Quantumult/Outbound.conf b/Quantumult/Outbound.conf index ff377a0..6419e65 100644 --- a/Quantumult/Outbound.conf +++ b/Quantumult/Outbound.conf @@ -142,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] @@ -150,17 +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=🛡Advertising, 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 -# Advertising+ 广告 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=🛡Advertising+, update-interval=86400, enabled=true +# Block Advertising+ +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/AdvertisingPlus.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 YouTube +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/YouTubeAds.conf, tag=🛡Premium 勿用, update-interval=86400, enabled=false [server_local] #