From ddbf9347b3e99641e0bc84b0b18104199cb90c56 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Wed, 18 Jun 2025 20:56:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=AC=E4=BA=A4=E5=AE=9E=E6=97=B6?= =?UTF-8?q?=E5=AE=9A=E4=BD=8D-=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.cdxzy.gjssdw.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/apps/com.cdxzy.gjssdw.ts diff --git a/src/apps/com.cdxzy.gjssdw.ts b/src/apps/com.cdxzy.gjssdw.ts new file mode 100644 index 00000000..f6df987f --- /dev/null +++ b/src/apps/com.cdxzy.gjssdw.ts @@ -0,0 +1,28 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.cdxzy.gjssdw', + name: '公交实时定位', + groups: [ + { + key: 1, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + priorityTime: 10000, + rules: [ + { + fastQuery: true, + anyMatches: [ + '@View[text=null][clickable=true][childCount=0][visibleToUser=true][width<200&&height<200] +(1,2) TextView[index=parent.childCount.minus(1)][childCount=0] 2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]', + 'FrameLayout > FrameLayout[childCount>2] > @View[text=null][clickable=true][childCount=0][visibleToUser=true][width<200&&height<200] +(1,2) TextView[index=parent.childCount.minus(1)][childCount=0][visibleToUser=true]', + ], + exampleUrls: 'https://e.gkd.li/71b97b0e-053c-4338-b82a-530c4b759c1c', + snapshotUrls: 'https://i.gkd.li/i/20796307', + excludeSnapshotUrls: 'https://i.gkd.li/i/20796034', // 全局规则在此误触 + }, + ], + }, + ], +});