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', // 全局规则在此误触 + }, + ], + }, + ], +});