diff --git a/src/apps/coding.yu.ccompiler.new.ts b/src/apps/coding.yu.ccompiler.new.ts new file mode 100644 index 00000000..fa29ca01 --- /dev/null +++ b/src/apps/coding.yu.ccompiler.new.ts @@ -0,0 +1,36 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'coding.yu.ccompiler.new', + name: 'C语言编译器', + groups: [ + { + key: 1, + name: '全屏广告-弹窗广告', + desc: '点击关闭', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + fastQuery: true, + activityIds: 'coding.yu.ccompiler.ui.CMainActivity', + matches: + '@ImageView[childCount=0][text=null][visibleToUser=true] < FrameLayout[childCount=1] <2 FrameLayout[childCount=2] <2 FrameLayout[childCount=2] <2 FrameLayout[childCount=2] - FrameLayout > [text^="扭动或点击"]', + exampleUrls: 'https://e.gkd.li/274838d1-4618-41ea-b42e-beb0b021f8b2', + snapshotUrls: 'https://i.gkd.li/i/17689928', + }, + { + key: 1, + fastQuery: true, + activityIds: 'coding.yu.ccompiler.ui.CMainActivity', + matches: + '@ImageView[childCount=0][text=null][visibleToUser=true] < FrameLayout[childCount=1] <2 FrameLayout[childCount=5] + FrameLayout[childCount=2] > [text^="立即" || text="查看详情" || text="了解更多" || text="去逛逛"]', + exampleUrls: 'https://e.gkd.li/1ea8876f-4cac-492e-b977-e9a512aa1661', + snapshotUrls: 'https://i.gkd.li/i/17689929', + }, + ], + }, + ], +});