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] <