What is the best way to get an unread count for a pinned tab? I've my own application that should display an unread count when pinned. Can this only be done by using multiple fav icons? A browser extension is NO solution. Currently the unread count is only visible via document.title.
I've tried to use multiple favicons and change it at runtime. The problem is, that the browser seems to cache the favicon and never loads the changed one. Sometimes this works, but not in every browser. The problem is, that I'll need at least 100 favicons to reflect up to 100 unread items. But that's not really dynamic. May be there is a modern way to write a number to the icon dynamically?