astanley/Wishlist — Issue #6: Create a sample that uses HTML5 notifications
Author: astanley
Created: 2012-03-01 15:36:09+00:00
State: open

Proactive notification

Example:

webkitNotifications.requestPermission(function() {
//params = image, title, body
var monkey = "http://icons.iconarchive.com/icons/martin-berube/animal/32/monkey-icon.png";
var notification = webkitNotifications.createNotification("monkey", "Banana", "Oooo ooo eee eee ooooo.");
notification.show();
});