diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index b7d3b576..658c276d 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -26,11 +26,15 @@ export default defineAppConfig({ { key: 2, name: '好友动态-广告卡片', - activityIds: 'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity', + activityIds: [ + 'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity', + 'com.tencent.mobileqq.activity.SplashActivity', + ], rules: [ { key: 0, matches: 'View[desc="广告"] + ImageView[clickable=true]', // 1689050226722 + snapshotUrls: 'https://gkd-kit.songe.li/import/12847842', }, { preKeys: 0, @@ -135,5 +139,29 @@ export default defineAppConfig({ 'https://gkd-kit.songe.li/import/12840633', // 点击原图后 ], }, + { + enable: false, + key: 12, + name: 'QQ小世界评论区广告', + desc: '点击广告-弹出原因框-关闭此条广告', + activityIds: [ + 'com.tencent.mobileqq.activity.SplashActivity', + 'com.tencent.biz.qqcircle.activity.QCircleFolderActivity', + ], + rules: [ + { + key: 0, + matches: + 'RelativeLayout[childCount=5] > @LinearLayout[clickable=true][childCount=2][id!=null] > TextView[text="广告"][id!=null]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12847819', + }, + { + preKeys: 0, + matches: + '@LinearLayout[clickable=true] > TextView[text="关闭此条广告"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12847821', + }, + ], + }, ], });