From 4cdecba3f1fe57c335818b1548048e9e53667aed Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Mon, 13 Nov 2023 00:26:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=AE=80=E4=B9=A6):=20=E5=BC=80=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E3=80=81VIP=E5=BC=B9=E7=AA=97=20(#2027)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(简书):开屏广告、VIP弹窗 * feat(简书):开屏广告、VIP弹窗 * 格式更正 * 格式更正 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] --- src/apps/com.jianshu.haruki.ts | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/apps/com.jianshu.haruki.ts diff --git a/src/apps/com.jianshu.haruki.ts b/src/apps/com.jianshu.haruki.ts new file mode 100644 index 00000000..69db6393 --- /dev/null +++ b/src/apps/com.jianshu.haruki.ts @@ -0,0 +1,45 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.jianshu.haruki', + name: '简书', + groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + name: '【跳过+倒计时】型', + quickFind: true, + matches: '[text *= "跳过"][text.length <= 10]', + snapshotUrls: 'https://i.gkd.li/import/13327285', + }, + { + key: 1, + name: '【圆圈跳过】型', + matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', + snapshotUrls: 'https://i.gkd.li/import/13327288', + }, + ], + }, + { + key: 1, + name: 'VIP弹窗', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + activityIds: 'com.baiji.jianshu.ui.splash.SplashScreenActivity', + matches: '[id="com.jianshu.haruki:id/dialog_lucky_prize_close"]', + snapshotUrls: 'https://i.gkd.li/import/13327286', + }, + ], + }, + ], +});