Questions tagged [web-notifications]

The Web Notifications API provides a way for a web application to show a platform-level notification to a users — outside of a browser’s viewport and regardless of whether the web application that generated the notification is in the currently-active tab/window.

Web Notifications API for end-user notifications provides a way to alert users — outside the context of a web page — of an occurrence such as the delivery of an e-mail message.

https://notifications.spec.whatwg.org/

145 questions
1
vote
1 answer

How to show web notification when allowing but not remembering choice in Firefox?

I have run into a problem on Firefox with web notifications when allowing notifications, but not remembering the choice. Please see image The problem occurs whenever the user allows notifications, but doesn't let Firefox remember the decision.…
R. Bosman
  • 161
  • 9
1
vote
1 answer

Push with Web Notifications API

I've just started looking at the Web Notifications API. This JS will immediately display a notification when I load the page: if("Notification" in window) { if(Notification.permission == "granted") { var notification = new…
User_FTW
  • 504
  • 1
  • 16
  • 44
1
vote
0 answers

Firebase not get the token id for web app

As per this video instruction https://www.youtube.com/watch?v=BsCBCudx58g, I have integrated the code it looks below.