perf: wps

This commit is contained in:
AIsouler
2025-11-27 16:43:14 +08:00
parent 16038c02c7
commit 8075c0f53b

View File

@@ -35,9 +35,10 @@ export default defineGkdApp({
}, },
{ {
key: 2, key: 2,
name: '全屏广告-弹窗广告', name: '全屏广告',
rules: [ rules: [
{ {
key: 0,
fastQuery: true, fastQuery: true,
activityIds: [ activityIds: [
'cn.wps.moffice.main.AfterLoginActivity', 'cn.wps.moffice.main.AfterLoginActivity',
@@ -49,6 +50,22 @@ export default defineGkdApp({
'https://i.gkd.li/i/12882712', 'https://i.gkd.li/i/12882712',
], ],
}, },
{
key: 1,
fastQuery: true,
activityIds: 'cn.wps.moffice.main.local.HomeRootActivity',
matches:
'View[childCount=3] > Image[text!=null] +2 @TextView[clickable=true] <<n [vid="push_tips_ptr_super_webview"]',
snapshotUrls: 'https://i.gkd.li/i/13945835',
},
{
key: 2,
fastQuery: true,
activityIds:
'cn.wps.moffice.plugin.cloudPage.newpage.NewCloudSettingNewActivity',
matches: '[vid="cloud_popup_close_view"][clickable=true]',
snapshotUrls: 'https://i.gkd.li/i/23786698',
},
], ],
}, },
{ {
@@ -134,19 +151,6 @@ export default defineGkdApp({
}, },
], ],
}, },
{
key: 8,
name: '全屏广告-体验超级会员弹窗',
rules: [
{
fastQuery: true,
activityIds: 'cn.wps.moffice.main.local.HomeRootActivity',
matches:
'View[childCount=3] > Image[text!=null] +2 @TextView[clickable=true] <<n [vid="push_tips_ptr_super_webview"]',
snapshotUrls: 'https://i.gkd.li/i/13945835',
},
],
},
{ {
key: 9, key: 9,
name: '功能类-自动签到', name: '功能类-自动签到',
@@ -185,18 +189,5 @@ export default defineGkdApp({
}, },
], ],
}, },
{
key: 11,
name: '全屏广告-开启云同步提示',
rules: [
{
fastQuery: true,
activityIds:
'cn.wps.moffice.plugin.cloudPage.newpage.NewCloudSettingNewActivity',
matches: '[vid="cloud_popup_close_view"][clickable=true]',
snapshotUrls: 'https://i.gkd.li/i/23786698',
},
],
},
], ],
}); });