From 5609bd89e8c94a00a609c8c4ae72d92ece8e014b Mon Sep 17 00:00:00 2001 From: aisouler Date: Tue, 23 Jan 2024 17:38:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8C=96=E8=B4=A2=E8=AE=B0=E8=B4=A6):?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.wacai365.ts | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/src/apps/com.wacai365.ts b/src/apps/com.wacai365.ts index 2e06e215d..dd7673e05 100644 --- a/src/apps/com.wacai365.ts +++ b/src/apps/com.wacai365.ts @@ -7,7 +7,7 @@ export default defineAppConfig({ { enable: false, key: 1, - name: '新版本提示', + name: '更新提示', quickFind: true, actionMaximum: 1, activityIds: [ @@ -24,12 +24,48 @@ export default defineAppConfig({ { enable: false, key: 2, - name: '弹窗广告', + name: '全屏广告-弹窗广告', quickFind: true, actionMaximum: 1, activityIds: 'com.wacai365.HomeActivity', rules: '[id^="com.wacai365:id/promote_banner_close"]', snapshotUrls: 'https://i.gkd.li/import/13249666', }, + { + key: 3, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + matches: + 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', + snapshotUrls: 'https://i.gkd.li/import/14021540', + }, + // 该应用存在特殊开屏广告,被全局规则排除,以下为之前的开屏广告规则 + { + key: 1, + quickFind: true, + matches: '[id="com.wacai365:id/ksad_splash_circle_skip_view"]', + snapshotUrls: 'https://i.gkd.li/import/13162861', + }, + { + key: 2, + matches: '[id$="id/tt_splash_skip_btn"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13177538', + 'https://i.gkd.li/import/13194893', + ], + }, + { + key: 3, + quickFind: true, + matches: '[text^="跳过"][text.length<=6]', + snapshotUrls: 'https://i.gkd.li/import/13399124', + }, + ], + }, ], });