The Push notification plugin allows users to opt to receive receive push notifications over desktop devices in addition to mobile devices.
In order for this plugin to work at all, your Discourse MUST BE HTTPS!
The plugin repository is at github.com/discourse/discourse-push-notifications
While push notifications for mobile are now supported in core by default, they are applicable for mobile devices such as Android only.
This plugin exposes a user option that allows users to prefer push notifications on desktop devices:
When checked, enabling “live notifications” will prefer push notifications on desktop devices.
Desktop browsers are able to get “desktop notifications” which work just fine! However there is a subtle difference in the way that the two function. With desktop notifications, the moment that you close your tabs to discourse, notifications cease to come through. With a push notification, this is not the case.
With push notifications, it is not necessary to have a browser tab open in order to receive notifications. A user is able to receive notifications even when there is no browser tab open on the Discourse site.
Chrome Desktop 51 and up, Firefox Desktop 44 and up, see caniuse for specifics.
Be on a recent version of Discourse running HTTPS, then follow Install a Plugin.