From 78fbf25bdcd81479331de31f0d960a00a98954d7 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 12 Oct 2023 00:01:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=BF=85=E9=9B=B7):=20=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=86=85=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97=20(#928)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(迅雷) * feat 应用内广告弹窗 --- src/apps/com.xunlei.downloadprovider.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/apps/com.xunlei.downloadprovider.ts b/src/apps/com.xunlei.downloadprovider.ts index 3cd35f6b..bb075438 100644 --- a/src/apps/com.xunlei.downloadprovider.ts +++ b/src/apps/com.xunlei.downloadprovider.ts @@ -59,6 +59,26 @@ export default defineAppConfig({ }, ], }, + { + key: 3, + name: '应用内广告弹窗', + rules: [ + { + key: 0, + activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity', + matches: '@[text="关闭"] +n LinearLayout > [text*="广告"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12868648', + }, + { + key: 1, + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + matches: + '@Image[text=""] < View +n View > View > TextView[text="广告"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12868667', + }, + ], + }, { enable: true, key: 10,