feat(QQ): 聊天页面广告

This commit is contained in:
aisouler
2024-02-07 00:25:22 +08:00
parent 1e653d35f2
commit ff573e978a

View File

@@ -475,7 +475,6 @@ export default defineAppConfig({
rules: [
{
key: 0,
matches: '[id="com.tencent.mobileqq:id/nca"]',
snapshotUrls: 'https://i.gkd.li/import/14019384',
},
@@ -509,10 +508,11 @@ export default defineAppConfig({
},
{
key: 24,
name: '局部广告-聊天页面顶部卡片广告',
desc: '点击关闭',
name: '局部广告-聊天页面广告',
rules: [
{
key: 0,
name: '集福卡活动卡片',
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
matches:
'FrameLayout[childCount=2] FrameLayout[childCount=2] > FrameLayout[index=1] > RelativeLayout[childCount=4] > ImageView[index=3]',
@@ -520,6 +520,18 @@ export default defineAppConfig({
'https://m.gkd.li/57941037/3bf709fc-eefc-4d66-9a00-475738934cd7',
snapshotUrls: 'https://i.gkd.li/import/14178667',
},
{
key: 1,
name: '开福袋浮层广告',
quickFind: true,
activityIds:
'com.tencent.mobileqq.profilecard.activity.FriendProfileCardActivity',
matches:
'FrameLayout > FrameLayout > FrameLayout[childCount=2] > TextView[text="跳过"]',
exampleUrls:
'https://m.gkd.li/57941037/4cf5bc02-d2c3-4ca4-833e-522a194e3131',
snapshotUrls: 'https://i.gkd.li/import/14183188',
},
],
},
],