From 063b8562e11722f886ce1ab59e96bc2422cc2194 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Sat, 14 Oct 2023 01:52:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=BF=BD=E6=BC=AB=E5=A4=A7=E5=85=A8):=20?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97-=E8=A7=84=E5=88=99?= =?UTF-8?q?=E4=BC=98=E5=8C=96=20(#1034)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(追漫大全): 广告弹窗-规则优化 * chore(actions): check_format_lint * Update com.mj.mjyd.ts * chore(actions): check_format_lint * Update com.mj.mjyd.ts * feat(追漫大全): 规则优化 --------- Co-authored-by: github-actions[bot] Co-authored-by: lisonge close #949 --- src/apps/com.mj.mjyd.ts | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/apps/com.mj.mjyd.ts b/src/apps/com.mj.mjyd.ts index a01e705c..989bbe0a 100644 --- a/src/apps/com.mj.mjyd.ts +++ b/src/apps/com.mj.mjyd.ts @@ -8,9 +8,20 @@ export default defineAppConfig({ key: 1, name: '广告弹窗', quickFind: true, - rules: - '@ImageView < FrameLayout[childCount=1] <2 FrameLayout[childCount=6] >3 [text="立即下载"]', - snapshotUrls: 'https://gkd-kit.songe.li/import/12877729', + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Activity_T', + rules: [ + { + matches: + '@ImageView < FrameLayout[childCount=1] <2 FrameLayout[childCount=6] >3 [text="立即下载"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12877729', + }, + { + matches: + '@ImageView < FrameLayout[childCount=1] <3 FrameLayout[childCount=5] <3 FrameLayout[childCount=5] >3 [text="立即下载"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12895086', + }, + ], }, ], });