faviconx

Last week on my NAS I found some old code that I had created about 2 years ago. It was a small (7kb) vanilla library that enabled you to make progress bars out of your browser tab icons. I never released it because it was so similar to piecon. However it seems that piecon hasn’t been updated for the past two years. Since my library has a bit more configuration options, I thought I could brush up some documentation and open source it for anyone to use.

FavIconX is now yours to play with.

Cheers!

7 Comments

Strings says (October 16, 2014 at 10:42 am):

The animation/rendering/processing slows down considerably if you observe it from another focused tab. Is this behaviour on purpose?

Nicolas Bize says (October 16, 2014 at 3:57 pm):

It’s not. I think the behaviour also depends on which browser you’re using. It seems like Chrome has some memory issues with the favicon behaviour, while Firefox behaves much better. I’ll see if I can improve some of that.

Lucas says (December 8, 2014 at 12:07 pm):

Fantastic! Pretty sure I’ll use it on next projects.

othmar says (December 25, 2015 at 1:40 pm):

great library – thank you!
unfortunately i had to hack around for having an play/pause icon as an overlay like the animated mixcloud favicon.
would this be possible without hacking your core-lib?

Bruno Jesus says (September 21, 2016 at 4:32 am):

Thanks for your work, it works very well together with upload progress. The only problem I have is that it does not respect updateTitle = false.
The problem is that in the code you do at line 336:
updateTitle = cfg.updateTitle || updateTitle;
cfg.updateTitle is false so it will OR the condition and use the default. Should be changed to something like:
updateTitle = typeof cfg.updateTitle != ‘undefined’ ? typeof cfg.updateTitle : updateTitle;

Bruno Jesus says (September 21, 2016 at 4:33 am):

Typo in my last comment, should read:
updateTitle = typeof cfg.updateTitle != ‘undefined’ ? cfg.updateTitle : updateTitle;

Mohammad says (February 1, 2017 at 6:33 am):

Nice project, but I think it doesn’t support Retina displays.. Here is the screenshot: https://q28i.imgup.net/Untitled0379.png

Comments are now closed

dark
sans