Questions tagged [html5-notifications]

This W3C specification defines an API to let a web page send a notification to the user on the desktop or mobile device.

The W3C Web Notifications API allows JavaScript to display a notification outside the context of the page.

This is currently supported on Chrome, Firefox, OS X Safari, Opera, Blackberry Browser 10, Firefox for Android.

45 questions
3
votes
1 answer

html5 showNotification

I have created a desktop notification with window.webkitNotifications.createNotification(). I've seen that gmail use an onclick event on the notification for the redirection, how is it made?
Squall
  • 71
  • 4
3
votes
2 answers

HTML5 notifications

Is anyone using HTML5 notifications in practice, and is there any value in doing so? From my understanding it's limited only to Chrome, and so I can't imagine people jumping on this thing.
DeployBoy
  • 41
  • 2
3
votes
1 answer

Dynamic desktop push notifications - PHP

For send desktop notifications I use this code. (from https://developer.mozilla.org/en/docs/Web/API/notification) function notifyMe() { // Let's check if the browser supports notifications if…
Shivam Pandya
  • 1,061
  • 3
  • 29
  • 64
3
votes
1 answer

Keep the notification alive a bit longer?

Currently using the HTML5 Notification API, it works like a charm. Except that I want the Notification to stay at least 10 seconds, because there is quite some text inside it. I read something about recreating periodically the notification when…
Depado
  • 4,811
  • 3
  • 41
  • 63
3
votes
1 answer

Hide previous HTML desktop notifications

I'm currently using the following code to generate HTML5 desktop notifications for my console.