From b08bb148771f0dd6a6ebbb7e8fc94ff4df321179 Mon Sep 17 00:00:00 2001 From: NobyDa <53217160+NobyDa@users.noreply.github.com> Date: Tue, 18 Jan 2022 20:14:00 +0800 Subject: [PATCH] fix regex rules. --- QuantumultX/Js.conf | 3 +-- QuantumultX/Rewrite_lhie1.conf | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/QuantumultX/Js.conf b/QuantumultX/Js.conf index 31dba53..a3a7531 100644 --- a/QuantumultX/Js.conf +++ b/QuantumultX/Js.conf @@ -81,9 +81,8 @@ https://api.zhihu.com/topstory/recommend url script-response-body https://raw.gi https://api.zhihu.com/v4/questions url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20answer.js # 哔哩哔哩动画去广告 (onewayticket255) -https://app.bilibili.com/x/v2/(splash|search/(defaultword|square)) url reject-200 +https://app.bilibili.com/x/v2/(splash|search/square) url reject-200 https://api.bilibili.com/x/v2/dm/ad url reject-200 -#https://app.bilibili.com/x/v2/space\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20space.js https://app.bilibili.com/x/resource/show/tab\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20tab.js https://app.bilibili.com/x/v2/feed/index\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20feed.js https://app.bilibili.com/x/v2/account/mine\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20account.js diff --git a/QuantumultX/Rewrite_lhie1.conf b/QuantumultX/Rewrite_lhie1.conf index 39c4c99..cdd0a39 100644 --- a/QuantumultX/Rewrite_lhie1.conf +++ b/QuantumultX/Rewrite_lhie1.conf @@ -418,7 +418,7 @@ hostname = api.cognitive.microsofttranslator.com,offline.microsofttranslator.com ^https?:\/\/du\.hupucdn\.com\/\w+h\d{4} url reject-img ^https?:\/\/api\.yangkeduo\.com\/api\/cappuccino\/splash url reject-img ^https?:\/\/mp\.weixin\.qq\.com\/(s|mp)\/(ad_|advertisement|getappmsgad|report|appmsgreport|appmsgpicreport) url reject-img -^https?:\/\/ap(i|p)\.bilibili\.com\/((x\/v2|pgc)\/(search\/defaultword|season\/rank\/cn|splash\/)|(pgc/season/rank/cn|x/v2/(rank.*?rid=(168|5)|search/(defaultword|hot|recommend|resource)))) url reject-img +^https?:\/\/ap(i|p)\.bilibili\.com\/((x\/v2|pgc)\/(season\/rank\/cn|splash\/)|(pgc/season/rank/cn|x/v2/(rank.*?rid=(168|5)|search/(hot|recommend|resource)))) url reject-img ^https?:\/\/www\.zhihu\.com\/terms\/privacy\/confirm url reject-img ^https?:\/\/api\.zhihu\.com\/market\/popover url reject-img ^https?:\/\/api\.zhihu\.com\/search\/(top|tab|preset) url reject-img