From ccc7a19882c799b4bcc4d48fafb29f389f749efb Mon Sep 17 00:00:00 2001 From: AIsouler Date: Mon, 21 Oct 2024 19:23:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(123=E4=BA=91=E7=9B=98):=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=8F=90=E7=A4=BA=20(#422)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.mfcloudcalculate.networkdisk.ts | 55 +++++++++++++------- 1 file changed, 35 insertions(+), 20 deletions(-) diff --git a/src/apps/com.mfcloudcalculate.networkdisk.ts b/src/apps/com.mfcloudcalculate.networkdisk.ts index e2285686..5b558ffd 100644 --- a/src/apps/com.mfcloudcalculate.networkdisk.ts +++ b/src/apps/com.mfcloudcalculate.networkdisk.ts @@ -4,6 +4,35 @@ export default defineGkdApp({ id: 'com.mfcloudcalculate.networkdisk', name: '123云盘', groups: [ + { + key: 2, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + actionMaximumKey: 0, + priorityTime: 10000, + rules: [ + { + key: 0, + matches: + 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[visibleToUser=true][text=null]', + snapshotUrls: [ + 'https://i.gkd.li/i/14018247', + 'https://i.gkd.li/i/13259303', + 'https://i.gkd.li/i/13695497', + ], + }, + { + key: 1, + matches: '[text^="跳过"][text.length<=4]', + snapshotUrls: [ + 'https://i.gkd.li/i/12846434', + 'https://i.gkd.li/i/13059834', + ], + }, + ], + }, { key: 1, name: '全屏广告-弹窗广告', @@ -57,31 +86,17 @@ export default defineGkdApp({ ], }, { - key: 2, - name: '开屏广告', + key: 3, + name: '更新提示', matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - actionMaximumKey: 0, - priorityTime: 10000, rules: [ { - key: 0, - matches: - 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][visibleToUser=true] + TextView[visibleToUser=true][text=null]', - snapshotUrls: [ - 'https://i.gkd.li/i/14018247', - 'https://i.gkd.li/i/13259303', - 'https://i.gkd.li/i/13695497', - ], - }, - { - key: 1, - matches: '[text^="跳过"][text.length<=4]', - snapshotUrls: [ - 'https://i.gkd.li/i/12846434', - 'https://i.gkd.li/i/13059834', - ], + activityIds: '.MainActivity', + matches: '@View[clickable=true] - [desc="立即更新"]', + exampleUrls: 'https://e.gkd.li/02cf5d37-8808-4abb-abf9-81f7ba8a8375', + snapshotUrls: 'https://i.gkd.li/i/17456852', }, ], },