Skip to content

Commit

Permalink
feat: HD-Torrents 增加未读消息获取
Browse files Browse the repository at this point in the history
  • Loading branch information
ronggang committed Aug 16, 2019
1 parent 1ed4d74 commit 1decc72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resource/sites/hd-torrents.org/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
"csrfToken": {
"selector": ["input[name='csrfToken']"],
"filters": ["query.val()"]
},
"messageCount": {
"selector": [".new-pm.warning"],
"filters": ["query.text().match(/(\\d+)/)", "(query && query.length>=2)?parseInt(query[1]):0"]
}
}
},
Expand Down

0 comments on commit 1decc72

Please sign in to comment.