Push.js Tutorial | Create Desktop Notification with Javascript




In this video, we’ll talk about Push.js – A javascript library to send desktop notification. Learn how to setup, create a notification and customize the options of push.js. Full source code available below!

Source Code: https://redstapler.co/push-js-tutorial-javascript-desktop-notification/
Follow us on
Facebook: https://www.facebook.com/theRedStapler
Website: http://redstapler.co/
Twitter: https://twitter.com/redStapler_twit

Original source


31 responses to “Push.js Tutorial | Create Desktop Notification with Javascript”

  1. tengo un problema al ejecutar el codigo, no me permite correr el script ya que en mi proyecto local no tiene certificado ssl y por lo que eh leido me dice que el mensaje push solo corre con https, el detalle esta que en tu local esta igual sin certificado y aun asi se ejecuta el escript

  2. How to send notifications when the user is not interactive with the page i.e like GMail and YouTube sends browser notifications even they are not being currently visited.
    How is it possible to do so? How to tell the client's browser to show the notification when he is not active or not viewing the page?

  3. Can anyone clarify ?! Is there a way to send a notification to all subscribers once they approved notifications ? Or is that a whole different thing ? Because I am guessing that is what most developers want to do.
    As it is now it just shows a desktop notification when user is on that page, not much use for that.

Leave a Reply