Push.js – A minimalist JavaScript library for desktop notifications
31–40 of 40 posts
Re: Push.js – A minimalist JavaScript library for desktop notifications
#32I hate to be pedantic but these are not push notifications. Those are the ones that can be sent even if the webapp is closed, for example, this Chrome demo: https://developers.google.com/web/fundamentals/getting-start...
Re: Push.js – A minimalist JavaScript library for desktop notifications
#33I just downloaded this and made a 1-liner to try it out. Really cool. Worked just fine in FF. Not sure why it didn't do anything in Chrome on Mac. > setInterval(function() { Push.create('Hi') }, 2000);
Re: Push.js – A minimalist JavaScript library for desktop notifications
#34I just downloaded this and made a 1-liner to try it out. Really cool. Worked just fine in FF. Not sure why it didn't do anything in Chrome on Mac. > setInterval(function() { Push.create('Hi') }, 2000);
I too had this issue. I appears that notifications don't show in full screen mode. When I returned Chrome to a windowed app on my Mac the notifications appeared.
Re: Push.js – A minimalist JavaScript library for desktop notifications
#35No demo?
Re: Push.js – A minimalist JavaScript library for desktop notifications
#36Not working on Safari.
Re: Push.js – A minimalist JavaScript library for desktop notifications
#37Not working on Safari.
Does not seem to work locally using Chrome 50.0.2661.102 (64-bit) either. Not a good sign.
Re: Push.js – A minimalist JavaScript library for desktop notifications
#38Re: Push.js – A minimalist JavaScript library for desktop notifications
#39What guidelines or general rule of thumb do you use when deciding if something is worth a notification?
Re: Push.js – A minimalist JavaScript library for desktop notifications
#40Earlier quoted context omitted.
Why would it require HTTPS? This is a javascript library that allows you to hook into a native browser function (showing desktop notifications). There are no web services involved.
https://developers.google.com/web/updates/2015/03/push-notif... Why does this require HTTPS? How do I work around this during development? Service workers require secure origins to ensure that the service worker script is from the intended origin and hasn’t come about from a man-in-the-middle attack. Currently, that means using HTTPS on live sites, though localhost will work during development.