From 9f52c80765963d67b2357937d0da7219c02d2f2b Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Sun, 24 Dec 2023 19:57:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BD=A9=E4=BA=91=E5=A4=A9=E6=B0=94):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F,=20=E6=8F=92=E9=A1=B5=E5=B9=BF=E5=91=8A=20(#?= =?UTF-8?q?3230)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #3218 --- src/apps/com.nowcasting.activity.ts | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/apps/com.nowcasting.activity.ts b/src/apps/com.nowcasting.activity.ts index d5f567c5..175d9392 100644 --- a/src/apps/com.nowcasting.activity.ts +++ b/src/apps/com.nowcasting.activity.ts @@ -4,6 +4,20 @@ export default defineAppConfig({ id: 'com.nowcasting.activity', name: '彩云天气', groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + matches: '[id="com.nowcasting.activity:id/cll_splash_ad_skip"]', + snapshotUrls: 'https://i.gkd.li/import/13690833', + }, + ], + }, { key: 1, name: '弹窗广告_VIP', @@ -32,5 +46,29 @@ export default defineAppConfig({ }, ], }, + { + key: 3, + name: '插页广告', + quickFind: true, + activityIds: 'com.nowcasting.activity.WeatherActivity', + rules: [ + { + key: 0, + matches: ['[id="com.nowcasting.activity:id/jad_feed_close"]'], + snapshotUrls: 'https://i.gkd.li/import/13690826', + }, + { + key: 1, + matches: ['[id="com.nowcasting.activity:id/ll_close"]'], + snapshotUrls: 'https://i.gkd.li/import/13690822', + }, + { + preKeys: 1, + key: 2, + matches: ['[id="com.nowcasting.activity:id/ll_uninterested"]'], + snapshotUrls: 'https://i.gkd.li/import/13690830', + }, + ], + }, ], });