From 3789940b1a7ca9ec14ea3b066bf155098e60b1c5 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 8 Aug 2024 21:04:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(OmoFun):=20=E5=85=A8=E5=B1=8F=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E3=80=81=E9=80=9A=E7=9F=A5=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.banshenghuo.mobile.ofdm.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/apps/com.banshenghuo.mobile.ofdm.ts b/src/apps/com.banshenghuo.mobile.ofdm.ts index a08aefbe..e1c93d82 100644 --- a/src/apps/com.banshenghuo.mobile.ofdm.ts +++ b/src/apps/com.banshenghuo.mobile.ofdm.ts @@ -30,6 +30,31 @@ export default defineGkdApp({ matches: '[text="反馈"] -n @View[index=0] > Image', snapshotUrls: 'https://i.gkd.li/i/15444017', }, + { + key: 3, + fastQuery: true, + activityIds: 'com.banshenghuo.mobile.ofdm.MainActivity', + matches: + 'ImageView[childCount=0][text=null] < @ViewGroup[clickable=true] < ViewGroup + ViewGroup > [text="广告"]', + exampleUrls: 'https://e.gkd.li/8bbf31e8-598b-4021-9136-8de189fc7cf9', + snapshotUrls: 'https://i.gkd.li/i/16548166', + }, + ], + }, + { + key: 2, + name: '通知提示-公告弹窗', + desc: '点击[我知道了]', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + activityIds: 'com.anythink.basead.ui.ATPortraitTranslucentActivity', + matches: '[desc="我知道了"]', + exampleUrls: 'https://e.gkd.li/327ea04c-acda-4913-a0a9-fdda9cd83dd7', + snapshotUrls: 'https://i.gkd.li/i/16548158', + }, ], }, ],