From 9483732df9ed24dccaafccdbd8edb41bc49331c1 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:32:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E8=9A=95=E9=9C=B8=E7=8E=8B?= =?UTF-8?q?=E9=A4=90):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99=EF=BC=89=20(#2144)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.realtech.xiaocan.ts | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/apps/com.realtech.xiaocan.ts b/src/apps/com.realtech.xiaocan.ts index aa136310..c7eb1527 100644 --- a/src/apps/com.realtech.xiaocan.ts +++ b/src/apps/com.realtech.xiaocan.ts @@ -7,14 +7,24 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'com.realtech.adscope.SplashActivity', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: [ { - matches: - '[id = "com.realtech.xiaocan:id/splash_ad_container"] [text ^= "跳过"]', - snapshotUrls: 'https://i.gkd.li/import/12843368', + key: 1, + name: '开屏广告-1', + quickFind: true, + matches: '[text^="跳过"][text.length<=10]', + snapshotUrls: [ + 'https://i.gkd.li/import/12843368', + 'https://i.gkd.li/import/13363222', + 'https://i.gkd.li/import/13363246', + ], }, { + key: 2, + name: '开屏广告-2', matches: '[id = "com.byted.pangle:id/tt_splash_skip_btn"]', snapshotUrls: 'https://i.gkd.li/import/12854728', },