From 96d3d78f86a91b90d73c1b6f22653d8f8bfef463 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Tue, 14 Nov 2023 20:53:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=87=92=E4=BA=BA=E5=90=AC=E4=B9=A6):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E6=82=AC=E6=B5=AE?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=20(#2110)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 悬浮广告 * feat 开屏广告 --- src/apps/bubei.tingshu.ts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/apps/bubei.tingshu.ts diff --git a/src/apps/bubei.tingshu.ts b/src/apps/bubei.tingshu.ts new file mode 100644 index 00000000..c28c43ed --- /dev/null +++ b/src/apps/bubei.tingshu.ts @@ -0,0 +1,33 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'bubei.tingshu', + name: '懒人听书', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text="跳过"]', + snapshotUrls: 'https://i.gkd.li/import/13348703', + }, + { + key: 1, + name: '悬浮广告', + rules: [ + { + key: 0, + name: '播放列表-右侧悬浮广告', + quickFind: true, + activityIds: + 'bubei.tingshu.listen.book.detail.activity.DetailActivity', + matches: '[id="bubei.tingshu:id/closeIcon"][desc="关闭"]', + snapshotUrls: 'https://i.gkd.li/import/13348489', + }, + ], + }, + ], +});