From 3cf7f97d6b2bf54fcbfa5694e2edbbc82fb52f98 Mon Sep 17 00:00:00 2001 From: ConnersHua Date: Thu, 16 Apr 2020 09:31:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A9=20=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Global.conf | 2 +- Quantumult/Rewrite/Advertising.conf | 4 ++++ Quantumult/Rewrite/TikTok.conf | 3 ++- Surge/Module/Advertising.sgmodule | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Quantumult/Global.conf b/Quantumult/Global.conf index 32b4e18..f68a5b1 100755 --- a/Quantumult/Global.conf +++ b/Quantumult/Global.conf @@ -75,7 +75,7 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=🔀General, enabled=true # Advertising 广告 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Advertising.conf, tag=🔀Advertising, enabled=true +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Advertising.conf, tag=🛡Advertising, enabled=true # TikTok https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/TikTok.conf, tag=🔓TikTok, enabled=true diff --git a/Quantumult/Rewrite/Advertising.conf b/Quantumult/Rewrite/Advertising.conf index c3ff5ea..5eec6cc 100755 --- a/Quantumult/Rewrite/Advertising.conf +++ b/Quantumult/Rewrite/Advertising.conf @@ -24,6 +24,7 @@ hostname = *.musical.ly,api*.tiktokv.com,api.resso.app,api.21jingji.com,heic.ali ^(http|https):\/\/render\.alipay\.com\/p\/s\/h5data\/prod\/spring-festival-2019-h5data\/popup-h5data\.json url reject-200 ^(http|https):\/\/acs\.m\.taobao\.com\/gw\/mtop\.o2o\.ad\.gateway\.get\/ url reject-200 ^(http|https):\/\/guide-acs\.m\.taobao\.com\/gw\/mtop\.taobao\.wireless\.home\.splash\.awesome\.get\/ url reject-200 +^(http|https):\/\/acs\.m\.taobao\.com\/gw\/mtop\.o2o\.ad\.exposure\.get\/ url reject-200 # > 高德地图 - m*.amap.com ^(http|https):\/\/m\d\.amap\.com\/ws\/valueadded\/alimama\/splash_screen\/ url reject-200 # > 优酷 @@ -53,6 +54,8 @@ hostname = *.musical.ly,api*.tiktokv.com,api.resso.app,api.21jingji.com,heic.ali # > 百度地图 - newclient.map.baidu.com ^(http|https):\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads url reject-200 ^(http|https):\/\/ss0\.bdstatic\.com/.+_\d{3}_\d{4}\.jpg url reject-200 +# > 百度输入法 - mime.baidu.com +^(http|https):\/\/mime\.baidu\.com\/v\d\/IosStart\/getStartInfo url reject-200 # > 爱奇艺 ^(http|https):\/\/iface\.iqiyi\.com\/api\/getNewAdInfo url reject-200 ^(http|https):\/\/.+\/(mixer|track2)\? url reject-200 @@ -456,6 +459,7 @@ hostname = *.musical.ly,api*.tiktokv.com,api.resso.app,api.21jingji.com,heic.ali # > 字节跳动 - *.amemv.com,*.musical.ly,*.snssdk.com,*.tiktokv.com,*.pstatp.com ^(http|https):\/\/.+\.pstatp\.com\/img\/ad url reject-200 ^(http|https):\/\/.+\.(amemv|musical|snssdk|tiktokv)\.(com|ly)\/(api|motor)\/ad\/ url reject-200 +^(http|https):\/\/.+\.snssdk\.com\/.+_ad\/ url reject-200 ^(http|https):\/\/.+\.snssdk\.com\/motor\/operation\/activity\/display\/config\/V2\/ url reject-200 ^(http|https):\/\/.+/img\/ad\.union\.api\/ url reject-200 ^(http|https):\/\/dsp\.toutiao\.com\/api\/xunfei\/ads\/ url reject-200 diff --git a/Quantumult/Rewrite/TikTok.conf b/Quantumult/Rewrite/TikTok.conf index 328d7dd..ee9b94b 100644 --- a/Quantumult/Rewrite/TikTok.conf +++ b/Quantumult/Rewrite/TikTok.conf @@ -1,5 +1,6 @@ hostname = *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com -(?<=_region=)CN(?=&) url 307 JP +# TikTok By wzw1997007 & Choler +(?<=(carrier|account|sys)_region=)CN url 307 JP (?<=&app_version=)15..(?=.?.?&) url 307 1 (?<=\?version_code=)15..(?=.?.?&) url 307 1 \ No newline at end of file diff --git a/Surge/Module/Advertising.sgmodule b/Surge/Module/Advertising.sgmodule index b8caadd..9fba0eb 100644 --- a/Surge/Module/Advertising.sgmodule +++ b/Surge/Module/Advertising.sgmodule @@ -30,6 +30,7 @@ force-http-engine-hosts = %APPEND% 123.59.31.1,119.18.193.135,122.14.246.33,175. ^(http|https):\/\/render\.alipay\.com\/p\/s\/h5data\/prod\/spring-festival-2019-h5data\/popup-h5data\.json - reject ^(http|https):\/\/acs\.m\.taobao\.com\/gw\/mtop\.o2o\.ad\.gateway\.get\/ - reject ^(http|https):\/\/guide-acs\.m\.taobao\.com\/gw\/mtop\.taobao\.wireless\.home\.splash\.awesome\.get\/ - reject +^(http|https):\/\/acs\.m\.taobao\.com\/gw\/mtop\.o2o\.ad\.exposure\.get\/ - reject # > 高德地图 - m*.amap.com ^(http|https):\/\/m\d\.amap\.com\/ws\/valueadded\/alimama\/splash_screen\/ - reject # > 优酷