After doing something I run this code:
var notification = webkitNotifications.createNotification( \'icon.png\', // icon url - can be relative \'Done!\'
var notification = webkitNotifications.createNotification('images/icon-48x48.png',"This is Title","Biswarup Adhikari Notification"); notification.show(); setTimeout(function(){ notification.cancel(); },2000);
Chrome notification will close automatically after 2000 milli sec or 2 sec.