From 80e3c723655cd0f5ba749f70dcbb1806e157730b Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Tue, 7 Nov 2023 23:56:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(AH=E8=A7=86=E9=A2=91):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F,=20=E5=BC=B9=E7=AA=97=20(#1905)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #1892 --- src/apps/com.chunqiu.ah.ts | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/apps/com.chunqiu.ah.ts 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', + }, + ], + }, + ], +});