Skip to content

Commit

Permalink
feat: 修改B站通知匹配规则 (#704)
Browse files Browse the repository at this point in the history
Co-authored-by: minglu7 <[email protected]>
Co-authored-by: AIsouler <[email protected]>
  • Loading branch information
3 people authored Jan 13, 2025
1 parent 89fbaca commit f427880
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/apps/com.bilibili.app.in.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ export default defineGkdApp({
name: '通知提示-订阅感兴趣的通知',
desc: '点击"暂不开启"',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
activityIds:
'com.bilibili.bplus.im.communication.HomeCommunicationActivity',
matches: ['[text="订阅感兴趣的通知"]', '[text="暂不开启"]'],
snapshotUrls: 'https://i.gkd.li/i/13399195',
exampleUrls: 'https://e.gkd.li/283c2be2-80d7-43ab-976c-0896e678fc49',
snapshotUrls: 'https://i.gkd.li/i/18392097',
},
],
},
Expand All @@ -58,6 +60,7 @@ export default defineGkdApp({
{
activityIds: 'tv.danmaku.bili.MainActivityV2',
matches: ['[text="打开推送通知"]', '[text="暂不"]'],
exampleUrls: 'https://e.gkd.li/e67d6d21-f09b-44b0-bf91-8b9fa0670e27',
snapshotUrls: 'https://i.gkd.li/i/15907493',
},
],
Expand Down

0 comments on commit f427880

Please sign in to comment.