perf: 百度贴吧-通知权限 #1012

This commit is contained in:
AIsouler
2025-06-26 14:05:01 +08:00
parent 9457cbf849
commit fccc7cf1c0

View File

@@ -46,23 +46,28 @@ export default defineGkdApp({
name: '权限提示-通知权限', name: '权限提示-通知权限',
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app',
rules: [ rules: [
{ {
key: 0, key: 0,
activityIds: '.pb.pb.main.PbActivity',
matches: matches:
'@ImageView[clickable=true] -2 LinearLayout > [text^="打开通知"]', '@ImageView[clickable=true] -2 LinearLayout > [text^="打开通知"]',
snapshotUrls: 'https://i.gkd.li/i/13536170', snapshotUrls: 'https://i.gkd.li/i/13536170',
}, },
{ {
key: 1, key: 1,
activityIds: '.immessagecenter.mention.reply.ReplyMeActivity',
matches: 'TextView[text="开启消息推送"] +2 TextView[text="不开启"]', matches: 'TextView[text="开启消息推送"] +2 TextView[text="不开启"]',
snapshotUrls: 'https://i.gkd.li/i/13675694', snapshotUrls: 'https://i.gkd.li/i/13675694',
}, },
{ {
key: 2, key: 2,
matches: '[text="开启通知"] - [text="暂不开启"]', activityIds: 'com.baidu.tbadk.browser.TBWebContainerActivity',
snapshotUrls: 'https://i.gkd.li/i/13804455', matches: '[text="开启通知"] <n * > [text="暂不开启"]',
snapshotUrls: [
'https://i.gkd.li/i/13804455',
'https://i.gkd.li/i/20918198',
],
}, },
], ],
}, },