diff --git a/src/apps/com.chunqiu.ah.ts b/src/apps/com.chunqiu.ah.ts new file mode 100644 index 00000000..14e65ab1 --- /dev/null +++ b/src/apps/com.chunqiu.ah.ts @@ -0,0 +1,41 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.chunqiu.ah', + name: 'AH视频', + groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: [ + { + matches: '[text^="跳过"][text.length<10]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/13264387', + 'https://gkd-kit.gitee.io/import/13264381', + ], + }, + { + matches: '@ImageView - [text="|"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13264377', + }, + ], + }, + { + key: 1, + name: '弹窗广告', + quickFind: true, + activityIds: 'com.androlua.LuaActivity', + rules: [ + { + matches: '@FrameLayout - FrameLayout >2 [text="京东"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13264383', + }, + ], + }, + ], +});