OS X Mountain Lion adds Notification Center for managing alerts. Just like growl, but better.
Safari 6 and latest Chrome (21+) expose HTML5 notifications API to sites. Every site need to have permission for showing notifications.
Specification is very new and completely different from older version Chrome had. Developer doesn't have to watch for complicated NotificationCenter
.
The syntax is very simple: