So I've added some code that gets the count of notifications for the user and adds it in a little bubble to the favicon.
This is awesome.
But, as always, browsers don't always support it. This sucks.
I'd like to provide "[3] Page Title" as a fallback for such browsers, however I can't seem to detect when to apply this fallback.
Obviously browsers that don't support <canvas>
are easily excluded, but it seems that setting the href
of the new favicon works just fine, it just isn't applied. Any way to detect this behaviour?