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.
Show HN: Favicon alert bubbles
11–20 of 65 posts
Re: Show HN: Favicon alert bubbles
#12Tinycon 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…
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... ?
Prepending to the start of the page title does work though.
Re: Show HN: Favicon alert bubbles
#13Anyone else seeing this not work in firefox? In the javascript console i see several "Tinycon not defined" problems on firefox 10.
Re: Show HN: Favicon alert bubbles
#14Tinycon 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…
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... ?
But if you have an audience skewed towards modern browsers and want to do something a little different this works well and definitely draws the eyes attention.
Re: Show HN: Favicon alert bubbles
#15I see in the demo it stops at 99, does it not handle 3 digits very well? If it doesn't would it be good to make it do say 99+ like Gmail does?
Re: Show HN: Favicon alert bubbles
#16Tinycon 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…
Re: Show HN: Favicon alert bubbles
#17Earlier 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... ?
Because you are being arrogant. (I don't have downvote powers)
Re: Show HN: Favicon alert bubbles
#18Re: Show HN: Favicon alert bubbles
#19I see in the demo it stops at 99, does it not handle 3 digits very well? If it doesn't would it be good to make it do say 99+ like Gmail does?
It overlaps a little but it's still readable - I think the + approach would be good, i'll look at adding it soon :)
Re: Show HN: Favicon alert bubbles
#20Tinycon 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…
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... ?
However, the problem with this library is it has to follow the limitations of favicons' dimensions. I think there should be an open standard for having alert badges like iPhone and Android phones put on top of home screen icons. The browser distributer could design theirs to match the UI so people could recognize them, and they could be allowed to extend just 2 or 3 pixels past the normal favicon boundaries to grab attention without being annoying or invisible.
You can tell when people want something when they're settling for several make-shift approaches at it within limitations.