From 86f6b59c7779d11a6073375238d51de4d657bae3 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Mon, 20 Nov 2023 20:54:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BD=A9=E4=BA=91=E5=A4=A9=E6=B0=94):=20V?= =?UTF-8?q?IP=E5=BC=B9=E7=AA=97,=20=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97=20?= =?UTF-8?q?(#2283)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #2183 --- src/apps/com.nowcasting.activity.ts | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/apps/com.nowcasting.activity.ts diff --git a/src/apps/com.nowcasting.activity.ts b/src/apps/com.nowcasting.activity.ts new file mode 100644 index 00000000..d5f567c5 --- /dev/null +++ b/src/apps/com.nowcasting.activity.ts @@ -0,0 +1,36 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.nowcasting.activity', + name: '彩云天气', + groups: [ + { + key: 1, + name: '弹窗广告_VIP', + quickFind: true, + activityIds: 'com.nowcasting.activity.WeatherActivity', + rules: [ + { + matches: + '[text="开心收下"] + [id="com.nowcasting.activity:id/iv_close"]', + snapshotUrls: 'https://i.gkd.li/import/13405130', + }, + ], + }, + { + key: 2, + name: '弹窗广告_外部应用', + quickFind: true, + activityIds: 'com.nowcasting.activity.WeatherActivity', + rules: [ + { + matches: [ + '[id=null][text^="立即" || text^="领取" || text^="了解"][text.length=4]', + '[id="android:id/content"] >2 FrameLayout[childCount=3||childCount=2||childCount=4] > FrameLayout[childCount=5||childCount=6||childCount=8] > FrameLayout[childCount=1] > ImageView[text=null][visibleToUser=true]', + ], + snapshotUrls: 'https://i.gkd.li/import/13405131', + }, + ], + }, + ], +});