From 651f8364aa10c0b214b2c575301bfa9e4e3cbc0d Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Wed, 24 Mar 2021 12:49:14 +0800 Subject: [PATCH] =?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 | 4 +++- Surge/Shortcuts/reject.txt | 7 ++++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Quantumult/Rewrite/Block/Advertising.conf b/Quantumult/Rewrite/Block/Advertising.conf index 3c17109..b8e971e 100644 --- a/Quantumult/Rewrite/Block/Advertising.conf +++ b/Quantumult/Rewrite/Block/Advertising.conf @@ -40,6 +40,7 @@ hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58. ^https?:\/\/m\d\.amap\.com\/ws\/valueadded\/alimama\/splash_screen\/ url reject # > YOUKU ^https?:\/\/[\w-.]+\.ott\.cibntv\.net\/[\w\/-]+.mp4\?sid= url reject +^https?:\/\/[\w-.]+\.ott\.cibntv\.net\/[\w\/-]+.mp4\?ccode=02010101 url reject # --- # > AcFun - api-new.app.acfun.cn ^https?:\/\/api-new\.app\.acfun\.cn\/rest\/app\/flash\/screen\/ url reject @@ -63,6 +64,7 @@ hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58. ^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 +^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)\/c\/s\/splashSchedule url reject # > Baidu Map - newclient.map.baidu.com ^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads url reject # > Baidu InputMethod - mime.baidu.com @@ -125,7 +127,7 @@ hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58. # > douban - api.douban.com ^https?:\/\/api\.douban\.com\/v\d\/app_ads\/ url reject # > DouYuZhiBo - rtbapi.douyucdn.cn -^https?:\/\/rtbapi\.douyucdn\.cn\/japi\/sign\/app\/getinfo\?uid=&mdid=iphone&client_sys=ios$ url reject +^https?:\/\/rtbapi\.douyucdn\.cn\/japi\/sign\/app\/getinfo url reject # > Dangdang - e.dangdang.com ^https?:\/\/mapi\.dangdang\.com\/index\.php\?action=init url reject ^https?:\/\/e\.dangdang\.com\/media\/api\d\.go\?action=getDeviceStartPage url reject @@ -193,7 +195,7 @@ hostname = -lark-frontier-hl.snssdk.com,api.21jingji.com,service.4gtv.tv,app.58. # > HanjuTV ^https?:\/\/api\.hanju\.koudaibaobao\.com\/api\/carp\/kp\? url reject # > Huya - business.msstatic.com -^https?:\/\/business\.msstatic\.com\/advertiser\/ - reject +^https?:\/\/business\.msstatic\.com\/advertiser\/ url reject # I # > iFLY Input - imeclient.openspeech.cn diff --git a/Surge/Module/Block/Advertising.sgmodule b/Surge/Module/Block/Advertising.sgmodule index d3f6be4..57962bc 100644 --- a/Surge/Module/Block/Advertising.sgmodule +++ b/Surge/Module/Block/Advertising.sgmodule @@ -42,6 +42,7 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^https?:\/\/m\d\.amap\.com\/ws\/valueadded\/alimama\/splash_screen\/ - reject # > YOUKU ^https?:\/\/[\w-.]+\.ott\.cibntv\.net\/[\w\/-]+.mp4\?sid= - reject +^https?:\/\/[\w-.]+\.ott\.cibntv\.net\/[\w\/-]+.mp4\?ccode=02010101 - reject # --- # > AcFun - api-new.app.acfun.cn ^https?:\/\/api-new\.app\.acfun\.cn\/rest\/app\/flash\/screen\/ - reject @@ -65,6 +66,7 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI ^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 +^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)\/c\/s\/splashSchedule - reject # > Baidu Map - newclient.map.baidu.com ^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads - reject # > Baidu InputMethod - mime.baidu.com @@ -127,7 +129,7 @@ URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start,REJECT-TI # > douban - api.douban.com ^https?:\/\/api\.douban\.com\/v\d\/app_ads\/ - reject # > DouYuZhiBo - rtbapi.douyucdn.cn -^https?:\/\/rtbapi\.douyucdn\.cn\/japi\/sign\/app\/getinfo\?uid=&mdid=iphone&client_sys=ios$ - reject +^https?:\/\/rtbapi\.douyucdn\.cn\/japi\/sign\/app\/getinfo - reject # > Dangdang - e.dangdang.com ^https?:\/\/mapi\.dangdang\.com\/index\.php\?action=init - reject ^https?:\/\/e\.dangdang\.com\/media\/api\d\.go\?action=getDeviceStartPage - reject diff --git a/Surge/Shortcuts/reject.txt b/Surge/Shortcuts/reject.txt index 7bcf1d6..8a72e28 100644 --- a/Surge/Shortcuts/reject.txt +++ b/Surge/Shortcuts/reject.txt @@ -33,6 +33,7 @@ ^https?:\/\/m\d\.amap\.com\/ws\/valueadded\/alimama\/splash_screen\/ - reject # > YOUKU ^https?:\/\/[\w-.]+\.ott\.cibntv\.net\/[\w\/-]+.mp4\?sid= - reject +^https?:\/\/[\w-.]+\.ott\.cibntv\.net\/[\w\/-]+.mp4\?ccode=02010101 - reject # --- # > AcFun - api-new.app.acfun.cn ^https?:\/\/api-new\.app\.acfun\.cn\/rest\/app\/flash\/screen\/ - reject @@ -56,6 +57,7 @@ ^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 +^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)\/c\/s\/splashSchedule - reject # > Baidu Map - newclient.map.baidu.com ^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads - reject # > Baidu InputMethod - mime.baidu.com @@ -118,7 +120,7 @@ # > douban - api.douban.com ^https?:\/\/api\.douban\.com\/v\d\/app_ads\/ - reject # > DouYuZhiBo - rtbapi.douyucdn.cn -^https?:\/\/rtbapi\.douyucdn\.cn\/japi\/sign\/app\/getinfo\?uid=&mdid=iphone&client_sys=ios$ - reject +^https?:\/\/rtbapi\.douyucdn\.cn\/japi\/sign\/app\/getinfo - reject # > Dangdang - e.dangdang.com ^https?:\/\/mapi\.dangdang\.com\/index\.php\?action=init - reject ^https?:\/\/e\.dangdang\.com\/media\/api\d\.go\?action=getDeviceStartPage - reject @@ -210,6 +212,9 @@ # > iFreeTimebook - icc.one,jxd524.github.io ^https?:\/\/jxd524\.github\.io\/iFreeTime\/xid32uxaoecnfv2\/ - reject ^https?:\/\/icc\.one\/iFreeTime\/xid32uxaoecnfv2\/ - reject +# > IKOSPro +^https?:\/\/tracker-download\.oss-cn-beijing\.aliyuncs\.com\/SIMPlus\/ad_ - reject +^https?:\/\/tracker-download\.oss-cn-beijing\.aliyuncs\.com\/SIMPlus\/AD\/ - reject # J # > JD - api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com