From 71af7a6b16fe7d759cd84aafbd2f14ce7e561a40 Mon Sep 17 00:00:00 2001 From: aisouler Date: Wed, 7 Feb 2024 13:09:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BA=AC=E4=B8=9C=E8=AF=BB=E4=B9=A6):=20?= =?UTF-8?q?=E5=BC=80=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/com.jd.app.reader.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/apps/com.jd.app.reader.ts b/src/apps/com.jd.app.reader.ts index 5dd90aee..46586369 100644 --- a/src/apps/com.jd.app.reader.ts +++ b/src/apps/com.jd.app.reader.ts @@ -4,6 +4,29 @@ export default defineAppConfig({ id: 'com.jd.app.reader', 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/6f4561e5-b998-43f9-8848-b6b43d045a3d', + snapshotUrls: 'https://i.gkd.li/import/14189228', + }, + { + 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"]', + }, + ], + }, { key: 1, name: '更新提示',