feat(QQ): 小世界评论区广告,好友动态-广告卡片-规则优化 (#844)

* feat(QQ): QQ小世界评论区广告

- QQ小世界评论区广告

* chore(actions): check_format_lint

* feat(QQ): key2规则优化

* Update com.tencent.mobileqq.ts

* feat(QQ): 优化key12 点击慢的问题

* chore(actions): check_format_lint

* Update com.tencent.mobileqq.ts

* feat(QQ): 小世界评论区广告-规则优化

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二刺螈 <i@songe.li>
This commit is contained in:
jiuqianyuan
2023-10-10 23:27:36 +08:00
committed by GitHub
parent 70f5cd4b08
commit a9999f106d

View File

@@ -26,11 +26,15 @@ export default defineAppConfig({
{ {
key: 2, key: 2,
name: '好友动态-广告卡片', name: '好友动态-广告卡片',
activityIds: 'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity', activityIds: [
'com.qzone.reborn.feedx.activity.QZoneFriendFeedXActivity',
'com.tencent.mobileqq.activity.SplashActivity',
],
rules: [ rules: [
{ {
key: 0, key: 0,
matches: 'View[desc="广告"] + ImageView[clickable=true]', // 1689050226722 matches: 'View[desc="广告"] + ImageView[clickable=true]', // 1689050226722
snapshotUrls: 'https://gkd-kit.songe.li/import/12847842',
}, },
{ {
preKeys: 0, preKeys: 0,
@@ -135,5 +139,29 @@ export default defineAppConfig({
'https://gkd-kit.songe.li/import/12840633', // 点击原图后 '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',
},
],
},
], ],
}); });