From 9ecae7ede6b26d7f2fa6743ebae26df7bb351334 Mon Sep 17 00:00:00 2001 From: aisouler Date: Wed, 7 Feb 2024 13:17:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=97=AA=E7=94=B5=E4=BE=A0):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/app.esou.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/apps/app.esou.ts diff --git a/src/apps/app.esou.ts b/src/apps/app.esou.ts new file mode 100644 index 00000000..7c24137d --- /dev/null +++ b/src/apps/app.esou.ts @@ -0,0 +1,31 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'app.esou', + name: '闪电侠', + groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + matches: + 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', + exampleUrls: + 'https://m.gkd.li/57941037/fe2a046b-1abe-4aba-a0df-8d9568211e0d', + snapshotUrls: 'https://i.gkd.li/import/14189313', + }, + { + key: 1, + actionCdKey: 0, + matches: + '[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳过"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]', + }, + ], + }, + ], +});