From 7f0341d2ae5eaf383689cda4b13620f947b362eb Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Tue, 28 Nov 2023 19:55:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=A9=BE=E8=80=83=E5=AE=9D=E5=85=B8):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89=E3=80=81=E6=82=AC=E6=B5=AE=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E3=80=81=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A=20(#2576?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告(优化规则) * feat 悬浮广告 * feat 弹窗广告 --- src/apps/com.handsgo.jiakao.android.ts | 37 ++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/src/apps/com.handsgo.jiakao.android.ts b/src/apps/com.handsgo.jiakao.android.ts index f3997f5f..ddf34273 100644 --- a/src/apps/com.handsgo.jiakao.android.ts +++ b/src/apps/com.handsgo.jiakao.android.ts @@ -7,8 +7,41 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'com.handsgo.jiakao.android.splash.Login', - rules: '[id=`com.handsgo.jiakao.android:id/closeLayout`]', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[id=`com.handsgo.jiakao.android:id/closeLayout`]', // 缺少快照 + }, + { + key: 1, + name: '悬浮广告', + rules: [ + { + key: 0, + activityIds: 'com.handsgo.jiakao.android.main.activity.MainActivity', + matches: + '@[id="com.handsgo.jiakao.android:id/ivDelete"] + [id="com.handsgo.jiakao.android:id/ivRemote"]', + snapshotUrls: 'https://i.gkd.li/import/13475994', + }, + ], + }, + { + key: 2, + name: '弹窗广告', + rules: [ + { + key: 0, + name: '字节广告', + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + matches: [ + '[desc^="logoad"] > [text="广告"]', + '[desc^="webview-close"] > View[clickable=true]', + ], + snapshotUrls: 'https://i.gkd.li/import/13476039', + }, + ], }, ], });