Skip to content

Commit

Permalink
feat(QQ): 聊天页面广告
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Feb 6, 2024
1 parent 1e653d3 commit ff573e9
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions src/apps/com.tencent.mobileqq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,6 @@ export default defineAppConfig({
rules: [
{
key: 0,

matches: '[id="com.tencent.mobileqq:id/nca"]',
snapshotUrls: 'https://i.gkd.li/import/14019384',
},
Expand Down Expand Up @@ -509,17 +508,30 @@ 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]',
exampleUrls:
'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',
},
],
},
],
Expand Down

0 comments on commit ff573e9

Please sign in to comment.