Tuesday, May 31, 2011

Desktop Notification with Html5

I've recently stumbled upon studio.html5rocks.com and found the cool trick to display desktop notifications like Gmail.

I thought it is cool, thinking of including it in any of my app I plan to do.

Here is the core part of the snippet.

But you have to ask for user permission before displaying the notification. Find the complete tutorial at html5rocks.com


Post a Comment