javascript - How to notify in Google Chrome using window.Notification? -
i'm trying display desktop notifications using window.notification object, not it.
this code:
var noti = new notification("bob: hi", { tag: 'chat_bob' }); noti.show(); that works on firefox, without noti.show() statement, not in google chrome. doesn't work after user grants permissions.
Comments
Post a Comment