From f50089f49ca4dd469a64f5cb4a34adfd33a0dfa8 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Mon, 20 Nov 2023 20:55:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=A4=AE=E8=A7=86=E4=BD=93=E8=82=B2):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F,=20=E5=BC=B9=E7=AA=97=20(#2284)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #2188 --- src/apps/com.cctv.cctv5ultimate.ts | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/apps/com.cctv.cctv5ultimate.ts diff --git a/src/apps/com.cctv.cctv5ultimate.ts b/src/apps/com.cctv.cctv5ultimate.ts new file mode 100644 index 00000000..aa03ba5d --- /dev/null +++ b/src/apps/com.cctv.cctv5ultimate.ts @@ -0,0 +1,37 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.cctv.cctv5ultimate', + name: '央视体育', + groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: [ + { + matches: '[text$="跳过"][text.length<10]', + snapshotUrls: 'https://i.gkd.li/import/13405158', + }, + ], + }, + { + key: 1, + name: '弹窗广告', + quickFind: true, + activityIds: 'com.cctv.cctv5ultimate.activity.MainActivity', + rules: [ + { + matches: [ + '[text="广告"]', + '[id="com.cctv.cctv5ultimate:id/iv_close"]', + ], + snapshotUrls: 'https://i.gkd.li/import/13405159', + }, + ], + }, + ], +});