diff --git a/resource/sites/animebytes.tv/config.json b/resource/sites/animebytes.tv/config.json index ae3b17ee7..23bd75279 100644 --- a/resource/sites/animebytes.tv/config.json +++ b/resource/sites/animebytes.tv/config.json @@ -28,6 +28,10 @@ "isLogged": { "selector": ["a[href*='/user/logout']"], "filters": ["query.length>0"] + }, + "messageCount": { + "selector": [".alertbar.message a[href*='inbox.php']"], + "filters": ["query.text().match(/(\\d+)/)", "(query && query.length>=2)?parseInt(query[1]):0"] } } },