diff --git a/src/apps/com.chaozh.iReader.ts b/src/apps/com.chaozh.iReader.ts index 7d29e7ab..fc47d8c6 100644 --- a/src/apps/com.chaozh.iReader.ts +++ b/src/apps/com.chaozh.iReader.ts @@ -17,5 +17,22 @@ export default defineAppConfig({ }, ], }, + { + key: 2, + name: '通知弹窗', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + activityIds: 'com.zhangyue.iReader.bookshelf.ui.ActivityBookShelf', + excludeActivityIds: + 'com.zhangyue.iReader.read.ui.Activity_BookBrowser_TXT', + rules: [ + { + matches: + '@ImageView[clickable=true] +(1,2) TextView[text="开启推送通知"]', + snapshotUrls: 'https://i.gkd.li/import/13837961', + }, + ], + }, ], });