Skip to content

Commit 9ec0fd1

Browse files
committed
perf: wps
1 parent 11aee8a commit 9ec0fd1

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

src/apps/cn.wps.moffice_eng.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ export default defineAppConfig({
88
{
99
key: 1,
1010
name: '分段广告-首页文档列表广告',
11-
exampleUrls: [
12-
'https://github.com/gkd-kit/subscription/assets/38517192/57787554-0443-4bc0-9f29-1759aae07b9b',
13-
],
11+
quickFind: true,
1412
activityIds: [
1513
'cn.wps.moffice.main.StartPublicActivity',
1614
'cn.wps.moffice.documentmanager.PreStartActivity',
@@ -19,15 +17,16 @@ export default defineAppConfig({
1917
rules: [
2018
{
2119
key: 0,
22-
matches: '[id$="/nativeclose"]',
20+
matches: '[id="com.mopub.ad.xiaomi:id/nativeclose"]',
2321
snapshotUrls: [
2422
'https://i.gkd.li/i/12505350',
2523
'https://i.gkd.li/i/12505286',
2624
],
2725
},
2826
{
29-
preKeys: 0,
30-
matches: '[text="关闭当前广告"||text="不喜欢此广告"]',
27+
preKeys: [0],
28+
key: 99,
29+
matches: '[text="不喜欢此广告"]',
3130
snapshotUrls: [
3231
'https://i.gkd.li/i/12505365',
3332
'https://i.gkd.li/i/13259090',
@@ -52,6 +51,7 @@ export default defineAppConfig({
5251
{
5352
key: 3,
5453
name: '更新提示',
54+
quickFind: true,
5555
matchTime: 10000,
5656
actionMaximum: 1,
5757
resetMatch: 'app',
@@ -63,6 +63,7 @@ export default defineAppConfig({
6363
key: 4,
6464
name: '功能类-开启WPS云服务',
6565
desc: '自动点击不开启',
66+
quickFind: true,
6667
activityIds: [
6768
'cn.wps.moffice.main.cloud.roaming.login.core.QingLoginActivity',
6869
'com.tencent.mm.plugin.webview.ui.tools.SDKOAuthUI',
@@ -86,10 +87,9 @@ export default defineAppConfig({
8687
},
8788
{
8889
key: 5,
89-
name: '局部广告-文档末尾广告',
90-
activityIds: [
91-
'cn.wps.moffice.writer.multiactivity.Writer', //Writer1,Writer2...
92-
],
90+
name: '分段广告-文档末尾广告',
91+
quickFind: true,
92+
activityIds: 'cn.wps.moffice.writer.multiactivity.Writer',
9393
rules: [
9494
{
9595
key: 1,
@@ -128,11 +128,12 @@ export default defineAppConfig({
128128
{
129129
key: 8,
130130
name: '全屏广告-体验超级会员弹窗',
131+
quickFind: true,
131132
rules: [
132133
{
133134
activityIds: 'cn.wps.moffice.main.local.HomeRootActivity',
134135
matches:
135-
'[id="cn.wps.moffice_eng:id/push_tips_ptr_super_webview"] >6 TextView[index=2]',
136+
'View[childCount=3] > Image[text!=null] +2 @TextView[clickable=true] <<n [vid="push_tips_ptr_super_webview"]',
136137
snapshotUrls: 'https://i.gkd.li/i/13945835',
137138
},
138139
],

src/apps/com.taptap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default defineAppConfig({
77
groups: [
88
{
99
key: 2,
10-
name: '局部广告-游戏浏览页面推荐广告',
10+
name: '分段广告-游戏浏览页面推荐广告',
1111
desc: '自动点击"对此内容不感兴趣"',
1212
rules: [
1313
{

0 commit comments

Comments
 (0)