From 25fa988fce45f0f7478599a7c11b42571b93cd6e Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Fri, 15 Dec 2023 19:23:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(LOFTER):=E5=BC=80=E5=B1=8F=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20(#3122)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #3094 --- src/apps/com.lofter.android.ts | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/apps/com.lofter.android.ts b/src/apps/com.lofter.android.ts index d172a180..0b5437ee 100644 --- a/src/apps/com.lofter.android.ts +++ b/src/apps/com.lofter.android.ts @@ -7,12 +7,24 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'com.lofter.android.global.splash.HomeActivity', - rules: '[text^="跳过"][text.length<=10]', - quickFind: true, - snapshotUrls: [ - 'https://i.gkd.li/import/13189846', - 'https://i.gkd.li/import/13189906', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + matches: '[text*="跳过"][text.length<=10]', + quickFind: true, + snapshotUrls: [ + 'https://i.gkd.li/import/13189846', + 'https://i.gkd.li/import/13189906', + ], + }, + { + actionMaximumKey: 0, + matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', + snapshotUrls: 'https://i.gkd.li/import/13635533', + }, ], }, ],