From 23c697cae9bc916c160820141aaf2bea6fe1a7f8 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sat, 21 Oct 2023 23:57:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(123=E4=BA=91=E7=9B=98):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A-=E8=A7=84=E5=88=99=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20(#1274)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 开屏广告(补充规则) * feat: 开屏广告(移除 quickFind) * feat(123云盘): 开屏广告-规则优化 --------- Co-authored-by: lisonge --- src/apps/com.mfcloudcalculate.networkdisk.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/apps/com.mfcloudcalculate.networkdisk.ts b/src/apps/com.mfcloudcalculate.networkdisk.ts index cb9032a3..42fa7a65 100644 --- a/src/apps/com.mfcloudcalculate.networkdisk.ts +++ b/src/apps/com.mfcloudcalculate.networkdisk.ts @@ -9,10 +9,17 @@ export default defineAppConfig({ name: '开屏广告', activityIds: 'com.mfcloudcalculate.networkdisk.activity.SplashActivity', matchLauncher: true, - quickFind: true, - rules: - '[id="com.mfcloudcalculate.networkdisk:id/frame_ad_splash_container"] >n [text="跳过"]', - snapshotUrls: 'https://gkd-kit.songe.li/import/12846434', + rules: [ + { + key: 0, + matches: + '[id="com.mfcloudcalculate.networkdisk:id/frame_ad_splash_container"] >n [text^="跳过"][text.length<=4]', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/12846434', + 'https://gkd-kit.songe.li/import/13059834', + ], + }, + ], }, ], });