Send Desktop Notifications in Chrome
Desktop notifications for web applications is a great plus, the user can be notified irrespective of the current window/tab they are using. Chrome, which has the largest share of the browser market, supports desktop notification, also Safari, or any webkit based browser.
Now, let's get our hands dirty with some desktop notification code.
Try this on Chrome/Safari, first time a popup will appear asking for permission.
Additionally, you may also control what happens when the notification is clicked. Google recently launched a Rich Desktop notification where one can control the style elements of the notification body, that we'll cover in some other article in the future.
Re: Send Desktop Notifications in Chrome
The same can be done for Firefox (though experimental like Chrome) as well and it need not be only for Chrome. https://developer.mozilla.org/en/doc...I/notification
|All times are GMT +5.5. The time now is 07:35.|