Live data from Hacker News

Show HN: Favicon alert bubbles

tommoor.github.com

31–40 of 65 posts

Re: Show HN: Favicon alert bubbles

#31

Earlier quoted context omitted.

What was arrogant about the comment? He merely stated that he doesn't find the solution to be aesthetically pleasing. Are opinions contrary to those of the majority now to be considered arrogant?

While I appreciate a good piece of code and the need to reinvent a wheel That reeked of sarcasm.

It wasn't supposed to. Reinventing a wheel is a good thing, that's what a majority of people on HN do on daily basis. This is what moves things forward.

"Reeked of sarcasm". Jeez.

Re: Show HN: Favicon alert bubbles

#34
post #2

Tinycon is a javascript library that allows easy manipulation of the favicon to include nice looking alert bubbles. This means that users can pin your site and still see when their attention is needed! It's been done before, but in my opinion not in a way aesthetically pleasing enough for production use. This library also falls back to the standard number in page title approach for browsers that do no support canvas…

FYI: Typo @ ..."browers" that don't support canvas or dynamic favicons.

Re: Show HN: Favicon alert bubbles

#35
post #2

Tinycon is a javascript library that allows easy manipulation of the favicon to include nice looking alert bubbles. This means that users can pin your site and still see when their attention is needed! It's been done before, but in my opinion not in a way aesthetically pleasing enough for production use. This library also falls back to the standard number in page title approach for browsers that do no support canvas…

FYI: Typo @ ..."browers" that don't support canvas or dynamic favicons.

Cheers Mike! Changed.

Re: Show HN: Favicon alert bubbles

#36
post #9
post #6

Earlier quoted context omitted.

While I appreciate a good piece of code and the need to reinvent a wheel, I wouldn't call your implementation "aesthetically pleasing" either. IMO your fallback option is the solution, simply appending "(5)" to the page title when there are 5 pending alerts works the best. [edit] And I am being downvoted because... ?

There are certain situations in which only the favicon is displayed - for example, when tabs are "pinned". In these cases, appending text to the page title would not be visible, which is why it's beneficial to have a dynamic favicon.

And my pinned tabs are wider than regular tabs. So favicon it is. Gmail has this function and it is great. Although I do agree that having both is probably the way to go. Change favicon (don't blink!) and prepend a number/message to the title.

Re: Show HN: Favicon alert bubbles

#37
post #2

Tinycon is a javascript library that allows easy manipulation of the favicon to include nice looking alert bubbles. This means that users can pin your site and still see when their attention is needed! It's been done before, but in my opinion not in a way aesthetically pleasing enough for production use. This library also falls back to the standard number in page title approach for browsers that do no support canvas…

> This library also falls back to the standard number in page title approach for browsers that do no support canvas / dynamic favicons.

I use Opera and it used fallback although favicon notification works for me in GMail or Meebo. You might check that out.

Re: Show HN: Favicon alert bubbles

#39
post #2

Tinycon is a javascript library that allows easy manipulation of the favicon to include nice looking alert bubbles. This means that users can pin your site and still see when their attention is needed! It's been done before, but in my opinion not in a way aesthetically pleasing enough for production use. This library also falls back to the standard number in page title approach for browsers that do no support canvas…

It's a neat project, but you should really use feature detection rather than UA string sniffing.

Both IE9 and Opera have canvas support, but they are not supported. I am pretty sure Opera has dynamic favicon support as well, not sure about IE.

Re: Show HN: Favicon alert bubbles

#40
post #39
post #2

Tinycon is a javascript library that allows easy manipulation of the favicon to include nice looking alert bubbles. This means that users can pin your site and still see when their attention is needed! It's been done before, but in my opinion not in a way aesthetically pleasing enough for production use. This library also falls back to the standard number in page title approach for browsers that do no support canvas…

It's a neat project, but you should really use feature detection rather than UA string sniffing. Both IE9 and Opera have canvas support, but they are not supported. I am pretty sure Opera has dynamic favicon support as well, not sure about IE.

The library does use feature detection to detect canvas support, browser sniffing is only to fix some small rendering differences between browsers.
Post reply on HN