From 658287f1257aed5b6bbd78884c9019ef6d6c5959 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Wed, 18 Oct 2023 00:10:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8B=B7=E8=B4=9D=E6=BC=AB=E7=94=BB):=20?= =?UTF-8?q?=E5=B4=A9=E6=BA=83=E4=BF=AE=E5=A4=8D,=20=E6=96=B0=E7=9A=84activ?= =?UTF-8?q?ityIds=E5=92=8C=E5=BC=B9=E7=AA=97=20(#1167)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(拷贝漫画): 注释掉会造成崩溃的规则 * feat(拷贝漫画): 崩溃修复, 新的activityIds和弹窗 --- src/apps/com.copymanga.app.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/apps/com.copymanga.app.ts b/src/apps/com.copymanga.app.ts index c11987d0..b39db08c 100644 --- a/src/apps/com.copymanga.app.ts +++ b/src/apps/com.copymanga.app.ts @@ -29,6 +29,7 @@ export default defineAppConfig({ name: '内部弹窗广告', matchLauncher: true, activityIds: ['com.copymanga.app.MainActivity'], + delay: 500, rules: [ { activityIds: 'com.kwad.components.ad.interstitial', @@ -47,6 +48,7 @@ export default defineAppConfig({ }, { matches: 'ImageView + FrameLayout + FrameLayout > ImageView', + snapshotUrls: [ 'https://gkd-kit.gitee.io/import/12504520', 'https://gkd-kit.gitee.io/import/12661019', @@ -59,9 +61,21 @@ export default defineAppConfig({ }, { matches: - 'TextView[text="立即申请"] < FrameLayout <2 FrameLayout -2 FrameLayout', + 'TextView[text.length=4] < FrameLayout[childCount>=1] <2 FrameLayout[childCount>=2] -2 FrameLayout', snapshotUrls: 'https://gkd-kit.gitee.io/import/12892156', }, + { + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + matches: '[text="反馈"] -2 @View - Image', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12925052', + }, + { + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + matches: '[text="反馈"] -4 @View < View[childCount=7]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12925095', + }, ], }, {