diff --git a/src/apps/com.aster.zhbj.ts b/src/apps/com.aster.zhbj.ts index 92e06d7e..c0bea002 100644 --- a/src/apps/com.aster.zhbj.ts +++ b/src/apps/com.aster.zhbj.ts @@ -6,9 +6,10 @@ export default defineAppConfig({ groups: [ { key: 1, - name: '广告弹窗', + name: '应用内广告弹窗', desc: '点击右上角x', rules: [ + // 腾讯广告 { key: 0, activityIds: 'com.bbk.launcher2.Launcher', @@ -27,9 +28,25 @@ export default defineAppConfig({ key: 2, activityIds: 'com.aster.comic.app.view.MainActivity', matches: - 'FrameLayout[childCount=4] > FrameLayout[childCount=8] > FrameLayout[childCount=1] > ImageView', + 'ImageView - LinearLayout - FrameLayout > FrameLayout > ImageView', snapshotUrls: 'https://gkd-kit.gitee.io/import/12872249', }, + + // 字节广告 + { + key: 10, + activityIds: 'com.aster.comic.app.view.MainActivity', + matches: '[desc^="webview-close"] > View', + snapshotUrls: 'https://gkd-kit.songe.li/import/12903062', + }, + { + key: 11, + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + matches: + '@Image < View + View +n View > View > TextView[text="广告"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12903072', + }, ], }, ],