I am using WebKit Notifications for my app. Say if I am using this code:
var n = window.webkitNotifications.createNotification(
\'icon.pn
You just need to specify "tag" option for notification. Notifications with the same value in tag only shows once even if many tabs are opened.
For example:
var notification = new Notification('Hey!', {
body : 'So nice to hear from you',
tag : 'greeting-notify',
icon : 'https://mysite.com/my_funny_icon.png'
});