perf: wps

This commit is contained in:
AIsouler
2024-04-19 21:55:57 +08:00
parent 11aee8a5df
commit 9ec0fd10ed
2 changed files with 13 additions and 12 deletions

View File

@@ -8,9 +8,7 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '分段广告-首页文档列表广告', name: '分段广告-首页文档列表广告',
exampleUrls: [ quickFind: true,
'https://github.com/gkd-kit/subscription/assets/38517192/57787554-0443-4bc0-9f29-1759aae07b9b',
],
activityIds: [ activityIds: [
'cn.wps.moffice.main.StartPublicActivity', 'cn.wps.moffice.main.StartPublicActivity',
'cn.wps.moffice.documentmanager.PreStartActivity', 'cn.wps.moffice.documentmanager.PreStartActivity',
@@ -19,15 +17,16 @@ export default defineAppConfig({
rules: [ rules: [
{ {
key: 0, key: 0,
matches: '[id$="/nativeclose"]', matches: '[id="com.mopub.ad.xiaomi:id/nativeclose"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12505350', 'https://i.gkd.li/i/12505350',
'https://i.gkd.li/i/12505286', 'https://i.gkd.li/i/12505286',
], ],
}, },
{ {
preKeys: 0, preKeys: [0],
matches: '[text="关闭当前广告"||text="不喜欢此广告"]', key: 99,
matches: '[text="不喜欢此广告"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12505365', 'https://i.gkd.li/i/12505365',
'https://i.gkd.li/i/13259090', 'https://i.gkd.li/i/13259090',
@@ -52,6 +51,7 @@ export default defineAppConfig({
{ {
key: 3, key: 3,
name: '更新提示', name: '更新提示',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
@@ -63,6 +63,7 @@ export default defineAppConfig({
key: 4, key: 4,
name: '功能类-开启WPS云服务', name: '功能类-开启WPS云服务',
desc: '自动点击不开启', desc: '自动点击不开启',
quickFind: true,
activityIds: [ activityIds: [
'cn.wps.moffice.main.cloud.roaming.login.core.QingLoginActivity', 'cn.wps.moffice.main.cloud.roaming.login.core.QingLoginActivity',
'com.tencent.mm.plugin.webview.ui.tools.SDKOAuthUI', 'com.tencent.mm.plugin.webview.ui.tools.SDKOAuthUI',
@@ -86,10 +87,9 @@ export default defineAppConfig({
}, },
{ {
key: 5, key: 5,
name: '局部广告-文档末尾广告', name: '分段广告-文档末尾广告',
activityIds: [ quickFind: true,
'cn.wps.moffice.writer.multiactivity.Writer', //Writer1,Writer2... activityIds: 'cn.wps.moffice.writer.multiactivity.Writer',
],
rules: [ rules: [
{ {
key: 1, key: 1,
@@ -128,11 +128,12 @@ export default defineAppConfig({
{ {
key: 8, key: 8,
name: '全屏广告-体验超级会员弹窗', name: '全屏广告-体验超级会员弹窗',
quickFind: true,
rules: [ rules: [
{ {
activityIds: 'cn.wps.moffice.main.local.HomeRootActivity', activityIds: 'cn.wps.moffice.main.local.HomeRootActivity',
matches: matches:
'[id="cn.wps.moffice_eng:id/push_tips_ptr_super_webview"] >6 TextView[index=2]', 'View[childCount=3] > Image[text!=null] +2 @TextView[clickable=true] <<n [vid="push_tips_ptr_super_webview"]',
snapshotUrls: 'https://i.gkd.li/i/13945835', snapshotUrls: 'https://i.gkd.li/i/13945835',
}, },
], ],

View File

@@ -7,7 +7,7 @@ export default defineAppConfig({
groups: [ groups: [
{ {
key: 2, key: 2,
name: '局部广告-游戏浏览页面推荐广告', name: '分段广告-游戏浏览页面推荐广告',
desc: '自动点击"对此内容不感兴趣"', desc: '自动点击"对此内容不感兴趣"',
rules: [ rules: [
{ {