@@ -40,20 +40,11 @@ export default defineGkdApp({
40
40
resetMatch : 'app' ,
41
41
rules : [
42
42
{
43
- activityIds : [
44
- 'com.android.launcher.Launcher' ,
43
+ activityIds :
45
44
'com.bilibili.bplus.im.communication.HomeCommunicationActivity' ,
46
- ] ,
47
- matches :
48
- '[text="订阅感兴趣的通知"] +2 * > @[text^="暂不"] + [text="去开启"]' ,
49
- snapshotUrls : [
50
- 'https://i.gkd.li/i/13399195' ,
51
- 'https://i.gkd.li/i/18392097' ,
52
- ] ,
53
- exampleUrls : [
54
- 'https://e.gkd.li/4d0bfc81-05fb-498d-8c84-0c99c2abd97a' ,
55
- 'https://e.gkd.li/283c2be2-80d7-43ab-976c-0896e678fc49' ,
56
- ] ,
45
+ matches : [ '[text="订阅感兴趣的通知"]' , '[text="暂不开启"]' ] ,
46
+ exampleUrls : 'https://e.gkd.li/283c2be2-80d7-43ab-976c-0896e678fc49' ,
47
+ snapshotUrls : 'https://i.gkd.li/i/18392097' ,
57
48
} ,
58
49
] ,
59
50
} ,
@@ -62,15 +53,15 @@ export default defineGkdApp({
62
53
name : '权限提示-通知权限' ,
63
54
desc : '自动点击"暂不"' ,
64
55
fastQuery : true ,
56
+ matchTime : 10000 ,
65
57
actionMaximum : 1 ,
66
58
resetMatch : 'app' ,
67
59
rules : [
68
60
{
69
61
activityIds : 'tv.danmaku.bili.MainActivityV2' ,
70
- matches :
71
- '[text="打开推送通知"] +2 * > @[text^="暂不"] + [text="去开启"]' ,
72
- snapshotUrls : 'https://i.gkd.li/i/15907493' ,
62
+ matches : [ '[text="打开推送通知"]' , '[text="暂不"]' ] ,
73
63
exampleUrls : 'https://e.gkd.li/e67d6d21-f09b-44b0-bf91-8b9fa0670e27' ,
64
+ snapshotUrls : 'https://i.gkd.li/i/15907493' ,
74
65
} ,
75
66
] ,
76
67
} ,
0 commit comments