From f48f26400db53db66d7d4199fede93a543b8736f Mon Sep 17 00:00:00 2001 From: Nebulafalls <53670448+Nebulafalls@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:37:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(Jump):=20=E5=BC=80=E5=B1=8F=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20(#2152)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(actions): check_format_lint * 修改jump开屏广告跳过规则 * chore(actions): check_format_lint * 添加快照链接,优化了一些细节 * 修正格式 * feat(Jump): 开屏广告 --------- Co-authored-by: github-actions[bot] Co-authored-by: lisonge --- src/apps/com.vgjump.jump.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/apps/com.vgjump.jump.ts b/src/apps/com.vgjump.jump.ts index fdb41520..6eb7a81a 100644 --- a/src/apps/com.vgjump.jump.ts +++ b/src/apps/com.vgjump.jump.ts @@ -7,12 +7,20 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - quickFind: true, matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - rules: 'TextView[text^="跳过"]', - snapshotUrls: 'https://i.gkd.li/import/13259108', + rules: [ + { + quickFind: true, + matches: 'TextView[text^="跳过"]', + snapshotUrls: 'https://i.gkd.li/import/13259108', + }, + { + matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', + snapshotUrls: 'https://i.gkd.li/import/13372486', + }, + ], }, ], });