From 45ffe08e65d7043743053eaa42c699e4ff648a78 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Mon, 13 May 2024 15:29:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9):=20?= =?UTF-8?q?=E5=85=A8=E5=B1=8F=E5=B9=BF=E5=91=8A-=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/tv.danmaku.bili.ts | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index 13d12647..2400fff6 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -247,17 +247,29 @@ export default defineGkdApp({ key: 12, name: '全屏广告-会员弹窗', desc: '点击关闭', + quickFind: true, + forcedTime: 10000, + actionMaximum: 1, + actionMaximumKey: 0, rules: [ { - quickFind: true, - actionMaximum: 1, - forcedTime: 3000, + key: 0, + order: -1, // 避免触发 key1 造成误触 + activityIds: 'com.bilibili.vip.web.VipWebActivity', + matches: + 'WebView[text="会员中心"] >4 [text="大会员服务协议"] +2 * >2 @TextView[visibleToUser=true][index=1] <4 [text="大会员服务协议"] +2 * >2 @TextView[visibleToUser=true] <4 [text="大会员服务协议"] +2 * >2 @TextView[visibleToUser=true][index=0] <