From 03a54fa6a6c3b46054b81d7d12ef4ca7947eb278 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 24 Oct 2024 18:37:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=9C=8B=E6=8A=A4=E5=AE=B6):=20=E5=85=A8?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A-=E5=BC=B9=E7=AA=97=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20(#426)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.nursinghome.monitor.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/apps/com.nursinghome.monitor.ts diff --git a/src/apps/com.nursinghome.monitor.ts b/src/apps/com.nursinghome.monitor.ts new file mode 100644 index 00000000..2245ae72 --- /dev/null +++ b/src/apps/com.nursinghome.monitor.ts @@ -0,0 +1,27 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.nursinghome.monitor', + name: '看护家', + groups: [ + { + key: 1, + name: '全屏广告-弹窗广告', + desc: '点击关闭', + rules: [ + { + key: 1, + fastQuery: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: '.ui.activity.MainActivity', + matches: + 'ImageView[childCount=0][text=null] < @ViewGroup[clickable=true][childCount=1] < ViewGroup <6 ViewGroup + ViewGroup >3 [text="广告"]', + exampleUrls: 'https://e.gkd.li/12316698-b92f-4a78-be55-5d9a90700f4a', + snapshotUrls: 'https://i.gkd.li/i/17504953', + }, + ], + }, + ], +});