feat(QQ): 好友动态-广告卡片(补充规则) (#3403)

This commit is contained in:
Kun Jinkao
2023-12-24 21:09:44 +08:00
committed by GitHub
parent 5810cea1fa
commit a2e292b0e8

View File

@@ -57,23 +57,30 @@ export default defineAppConfig({
enable: false, enable: false,
key: 2, key: 2,
name: '好友动态-广告卡片', name: '好友动态-广告卡片',
activityIds: [
'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity',
'com.tencent.mobileqq.activity.SplashActivity',
],
rules: [ rules: [
{ {
key: 0, key: 0,
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
matches: 'View[desc="广告"] + ImageView[clickable=true]', // 1689050226722 matches: 'View[desc="广告"] + ImageView[clickable=true]', // 1689050226722
snapshotUrls: 'https://i.gkd.li/import/12847842', snapshotUrls: 'https://i.gkd.li/import/12847842',
}, },
{ {
preKeys: 0, preKeys: 0,
key: 1,
activityIds:
'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity',
quickFind: true, quickFind: true,
matches: matches: '@[clickable=true] > ImageView + [text="关闭此条广告"]',
'@[clickable=true] > ImageView + TextView[text="关闭此条广告"]',
snapshotUrls: 'https://i.gkd.li/import/12840889', snapshotUrls: 'https://i.gkd.li/import/12840889',
}, },
{
preKeys: 0,
key: 2,
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
quickFind: true,
matches: '@[clickable=true] > * > ImageView + [text="隐藏此条动态"]',
snapshotUrls: 'https://i.gkd.li/import/13761147',
},
], ],
}, },
{ {