From 298ddf8bb2c3168bd3ac865b01abb625a63574bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A0=BC=E5=AD=90?= <8309713+MoeGrid@users.noreply.github.com> Date: Sun, 5 Nov 2023 19:22:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=90=A4=E7=9F=B3=E4=BA=91=E8=A7=86?= =?UTF-8?q?=E9=A2=91):=20=E9=A6=96=E9=A1=B5=E5=B9=BF=E5=91=8A;=E8=A7=84?= =?UTF-8?q?=E5=88=99=E4=BC=98=E5=8C=96=20(#1818)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(萤石云视频): 首页广告 * feat(萤石云视频): 规则优化 --------- Co-authored-by: lisonge --- src/apps/com.videogo.ts | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/apps/com.videogo.ts b/src/apps/com.videogo.ts index 2a570284..d5754e50 100644 --- a/src/apps/com.videogo.ts +++ b/src/apps/com.videogo.ts @@ -7,7 +7,10 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: ['com.videogo.login.LoadingActivity'], + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: [ { matches: '[id="com.videogo:id/ad_skip_tv"]', @@ -15,5 +18,23 @@ export default defineAppConfig({ }, ], }, + { + key: 1, + name: '主页广告', + quickFind: true, + activityIds: ['com.videogo.main.MainTabActivity'], + rules: [ + { + key: 0, + matches: '[id="com.videogo:id/ad_close"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13255684', + }, + { + preKeys: 0, + matches: '[id="com.videogo:id/ad_closead_nointerest"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13255697', + }, + ], + }, ], });