feat(百度贴吧): 申请消息提醒弹窗 (#3186)

* feat(百度贴吧):申请消息提醒弹窗

* chore(actions): check_format_lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
jiuqianyuan 2023-12-15 20:38:09 +08:00 committed by GitHub
parent d3053fa148
commit 85fcf97d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,10 +43,23 @@ export default defineAppConfig({
{
key: 1,
name: '申请消息提醒弹窗',
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
activityIds: 'com.baidu.tieba.pb.pb.main.PbActivity',
rules: '@ImageView[clickable=true] -2 LinearLayout > [text^="打开通知"]',
matches:
'@ImageView[clickable=true] -2 LinearLayout > [text^="打开通知"]',
snapshotUrls: 'https://i.gkd.li/import/13536170',
},
{
activityIds:
'com.baidu.tieba.immessagecenter.mention.reply.ReplyMeActivity',
matches: 'TextView[text="开启消息推送"] +2 TextView[text="不开启"]',
snapshotUrls: 'https://i.gkd.li/import/13675694',
},
],
},
{
enable: false,
key: 2,