Push notifications have readily been available for mobile platforms for quite some time. But push notifications for the web are still a new technology that isn’t supported widely yet. At the time of writing this article, only Chrome, Firefox, and Opera supported push notifications. Safari has support for push notifications through a propriety API that is beyond the scope of this article.
So let’s see how we can implement push notifications in the browsers that do support them.