From ff573e978a23edc73ed526e1641a54566e2e74a8 Mon Sep 17 00:00:00 2001 From: aisouler Date: Wed, 7 Feb 2024 00:25:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(QQ):=20=E8=81=8A=E5=A4=A9=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mobileqq.ts | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index 3a9280df..b89cd023 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -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', + }, ], }, ],