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', + }, + ], + }, + ], +});