User:Dorumin/chat.js

var unreadnumber = 0; $(document).on('DOMNodeInserted', function(e) {   if (e.target == 'div[id1="entry-c"]') {       ++unreadnumber;       document.title = "(" + unreadnumber + ")"       + " " + "Chat - Miraculous Ladybug Wiki - Wikia";    } });