From a547eea4f55b1f3e418877ba6c2ec480cf17f7ec Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 24 Dec 2023 21:10:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BA=BA=E4=BA=BA=E8=A7=86=E9=A2=91):=20?= =?UTF-8?q?=E9=9D=92=E5=B0=91=E5=B9=B4=E6=A8=A1=E5=BC=8F=E3=80=81=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84?= =?UTF-8?q?=E5=88=99=EF=BC=89=20(#3404)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 青少年模式 * feat 开屏广告(补充规则) --- src/apps/com.example.pptv.ts | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/apps/com.example.pptv.ts b/src/apps/com.example.pptv.ts index b07ae6da..ff956126 100644 --- a/src/apps/com.example.pptv.ts +++ b/src/apps/com.example.pptv.ts @@ -11,8 +11,27 @@ export default defineAppConfig({ matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - rules: '[text*="跳过"][text.length<=10]', - snapshotUrls: 'https://i.gkd.li/import/13669401', + rules: [ + { + key: 0, + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13669401', + }, + { + key: 1, + matches: '[id="com.example.pptv:id/view_count_shake"]', + snapshotUrls: 'https://i.gkd.li/import/13761160', + }, + ], + }, + { + key: 1, + name: '青少年模式', + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: '@[text="我知道了"] - * > [text="未成年模式"]', + snapshotUrls: 'https://i.gkd.li/import/13761159', }, ], });