Desktop Notification with Html5

I’ve recently stumbled upon 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.

var notification = window.webkitNotifications.createNotification("", "Title", "Notification message goes here");;

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

Post Comment