Skip to content

Commit 1791470

Browse files
committed
perf: 优化
1 parent 3db0acf commit 1791470

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

src/apps/com.tencent.mobileqq.ts

+10-16
Original file line numberDiff line numberDiff line change
@@ -775,11 +775,18 @@ export default defineGkdApp({
775775
{
776776
key: 3,
777777
name: '好友动态详情页广告',
778-
activityIds: 'com.qzone.reborn.base.QZoneTransparentShellActivity',
778+
activityIds: [
779+
'com.qzone.reborn.base.QZoneTransparentShellActivity',
780+
'com.qzone.reborn.base.QZoneShellActivity',
781+
],
779782
fastQuery: true,
780-
matches: '@[desc="关闭广告"][visibleToUser=true] -3 [text^="活动"]',
783+
matches:
784+
'@[desc="关闭广告"][visibleToUser=true] <4 RelativeLayout <2 LinearLayout <2 LinearLayout < FrameLayout <(4,5) RecyclerView < FrameLayout - FrameLayout >2 [text="详情"]',
781785
exampleUrls: 'https://e.gkd.li/b78a3e44-3bd9-445d-9199-e989269c2be3',
782-
snapshotUrls: 'https://i.gkd.li/i/17009847',
786+
snapshotUrls: [
787+
'https://i.gkd.li/i/17009847',
788+
'https://i.gkd.li/i/17815694',
789+
],
783790
},
784791
],
785792
},
@@ -798,18 +805,5 @@ export default defineGkdApp({
798805
},
799806
],
800807
},
801-
{
802-
key: 32,
803-
name: '局部广告-说说详情广告',
804-
activityIds: ['com.qzone.reborn.base.QZoneShellActivity'],
805-
desc: 'QQ空间说说详情页局部广告',
806-
rules: [
807-
{
808-
matches: '[id="com.tencent.mobileqq.qzone_df_impl:id/g_x"]',
809-
exampleUrls: 'https://e.gkd.li/731f8c85-1f0b-4c09-92c9-53508917e854',
810-
snapshotUrls: 'https://i.gkd.li/i/17815694',
811-
},
812-
],
813-
},
814808
],
815809
});

0 commit comments

Comments
 (0)