There are different strategies that you can use to allow a user to opt-out from the push notifications of a website that they have previously enabled.
push-api
Prevent the overlapping of notification prompt and cookie consent banner
Sometimes you have multiple prompts on a website (e.g. a cookie consent banner and a notification prompt) and for UI / UX reasons you may want to prevent the overlapping of the different prompts. Let’s see some solutions.
Why the image is not displayed in the web push notification?
In this article we give some tips for troubleshooting, in case the image of a web push notification is not displayed.
Web push notifications without a service worker in the root
Let’s see some workarounds to add web push notifications to a website if you cannot add a service worker to the root folder.
List of HTTP status codes and errors returned by web push services
A list of all the official documentation provided by the push services about the HTTP status codes and errors that can be returned. When an application sends a notification to a browser push service, it should check the status code returned and take appropriate actions.
Multi-Channel Notifications in Ruby on Rails with Noticed gem and Pushpad
In this tutorial we explain how to use the pushpad
gem with the noticed
gem to create multi-channel notifications in a Rails application. In particular we’ll use the noticed
gem for the notifications in general, while Pushpad will be used to deliver the web push notifications in real time, even when the website is closed.
Push API: the PushSubscription object explained
A “push subscription” represents a subscriber to the push notifications of a website.
Safari 16 adds support for web push notifications (Push API)
The long-awaited support for web push notifications in Safari is finally here.
Building a custom browser push service: is it possible?
Can you change the push service used by the browser? Is it possible to build and use a custom push service for delivering the web push notifications to the browser?
P2P Notifications? CORS is removed from all major push services
Sending web push notifications directly from a browser to another, using the Push API protocol, is not a secure practice. Now CORS is finally removed from all browser push services.