feat(百度贴吧): 申请消息提醒(补充规则) (#3615)

close #3611
This commit is contained in:
adproqwq
2024-01-02 20:48:30 +08:00
committed by GitHub
parent 53e5dc4832
commit aab04db795

View File

@@ -47,17 +47,25 @@ export default defineAppConfig({
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
key: 0,
activityIds: 'com.baidu.tieba.pb.pb.main.PbActivity', activityIds: 'com.baidu.tieba.pb.pb.main.PbActivity',
matches: matches:
'@ImageView[clickable=true] -2 LinearLayout > [text^="打开通知"]', '@ImageView[clickable=true] -2 LinearLayout > [text^="打开通知"]',
snapshotUrls: 'https://i.gkd.li/import/13536170', snapshotUrls: 'https://i.gkd.li/import/13536170',
}, },
{ {
key: 1,
activityIds: activityIds:
'com.baidu.tieba.immessagecenter.mention.reply.ReplyMeActivity', 'com.baidu.tieba.immessagecenter.mention.reply.ReplyMeActivity',
matches: 'TextView[text="开启消息推送"] +2 TextView[text="不开启"]', matches: 'TextView[text="开启消息推送"] +2 TextView[text="不开启"]',
snapshotUrls: 'https://i.gkd.li/import/13675694', snapshotUrls: 'https://i.gkd.li/import/13675694',
}, },
{
key: 2,
activityIds: 'com.baidu.tbadk.browser.TBWebContainerActivity',
matches: '[text="开启通知"] - [text="暂不开启"]',
snapshotUrls: 'https://i.gkd.li/import/13804455',
},
], ],
}, },
{ {