From abe7d4ef87feeed32483aa28e5b1997fb50221e7 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Wed, 8 Nov 2023 00:04:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=BD=BB=E6=9D=BE=E9=98=85):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F,=20=E5=BC=B9=E7=AA=97=20(#1877)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create io.sbyd.app.ts * Update io.sbyd.app.ts * Update io.sbyd.app.ts * feat(轻松阅): 规则优化 --------- Co-authored-by: 二刺螈 close #1835 --- src/apps/io.sbyd.app.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/apps/io.sbyd.app.ts diff --git a/src/apps/io.sbyd.app.ts b/src/apps/io.sbyd.app.ts new file mode 100644 index 00000000..63cdb22c --- /dev/null +++ b/src/apps/io.sbyd.app.ts @@ -0,0 +1,34 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'io.sbyd.app', + name: '轻松阅', + groups: [ + { + key: -1, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: [ + { + matches: '[text^="跳过"][text.length<10]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13261949', + }, + ], + }, + { + key: 0, + name: '弹窗广告', + activityIds: 'io.sbyd.app.ui.book.read.ReadBookActivity', + rules: [ + { + matches: + 'TextView < LinearLayout[childCount=2] < FrameLayout[childCount=2] > FrameLayout[childCount=1] > ImageView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13274336', + }, + ], + }, + ], +});