3 ms·
> Why do favicons need the ability to be animated? As favicons are animated in the tabs of some browsers I've seen it put to good use as a relatively unobtrusi
by dspillett 11y ago
> Why do favicons need the ability to be animated?
As favicons are animated in the tabs of some browsers I've seen it put to good use as a relatively unobtrusive attention grabber when a tab has new information.
A simple on/off is sufficient for this though, or if you want to be a bit more flashy a fade in/out, larger animations are somewhere between pointless and stupid so perhaps a size limit is in order (32Kb seems extravagant enough for me).
- stestagg 11y agoNotifications aren't (afaik) animated image files, but javascript manipulation of the dom to replace a small favicon with a new small favicon, on-demand
- dspillett 11y agoI've done non-animated ones myself using that method, but I've seen animated ones too - I assumed they were done by assigning an animated graphic rather than constantly updating the icon in a JS timer event until the notification is no longer relevant. Next time I see it I'll inspect the code and see what is going on.