Example from the [CSS] Ninja

To make notifications work you must click this link and allow access

Even though notifications have made it into the latest chrome stable release (v4) they cannot be used unless permission is granted only by executing the requestPermission method using a javascript: link. Your current status is:

You've got mail

A simple notification, using the createNotification() method, we pass in 3 parameters: an icon url, title and body text. To see the notification in action view this page in Chrome 4+

Custom notifications

A custom notification, using the createHTMLNotification() method, we pass in 1 parameter: url. This will be passed a html page which can be styled up any way you like. This example loads in a random tweet, every 15 seconds, about HTML5 or CSS3.