From 6a19e199c8ebd44a44e8917d5f056dcd26599ccb Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 31 Oct 2024 09:29:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=93=81=E8=B7=AF12306):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=20(#443)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.MobileTicket.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/apps/com.MobileTicket.ts diff --git a/src/apps/com.MobileTicket.ts b/src/apps/com.MobileTicket.ts new file mode 100644 index 00000000..e9f1c6cf --- /dev/null +++ b/src/apps/com.MobileTicket.ts @@ -0,0 +1,24 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.MobileTicket', + name: '铁路12306', + groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + priorityTime: 10000, + rules: [ + { + fastQuery: true, + matches: '[vid="tv_main_splash_skip"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/9a9b71b2-0c52-4623-b53b-6dd07d0cbe7c', + snapshotUrls: 'https://i.gkd.li/i/17580273', + }, + ], + }, + ], +});