Hacker News new | ask | show | jobs
by nothrabannosir 4003 days ago
I didn't read the entire bugreport; did anybody mention non-gif dynamic favicon changes? Like this:

https://gist.githack.com/hraban/e669edce68fbb9cd004b/raw/5f8...

(essentially: $('link[rel=icon]')[0].href='...';)

Because that's kind of useful for a lot of sites. Then again, if you don't remove that, what's the use of banning gifs?

1 comments

That's interesting, the animation seems to be slower when I'm on another tab, maybe Firefox has some optimisations affecting this.
It has. IIRC the setTimeout and serInterval functions are throttled to 1000ms while the tab is unfocused.