Receiving this error could mean that the visitor clicked "X" on the permission prompt asking the user if they'd like to receive notifications from your website.
Note: Please make sure to only call Pushy.register()
inside an onClick()
listener event handler of a link or button on your page, as some browsers will block registrations without a user-initiated event.
On Firefox versions 52 and older, this message will appear if the visitor clicks anywhere on the website before interacting with the prompt.
How do I un-do this, and allow Web Push permission for my site?
Web Push is always opt-in in Firefox. A site cannot send you push messages without your permission. If you accidentally denied the permission request, please follow these steps to allow notifications for your site.
Firefox Desktop (Windows / Mac / Linux):
- Click the menu button and select .
- Click Privacy & Security from the left pane.
- Scroll to the Permissions section.
- Click the button next to Notifications.
- Select your website.
- Set the Status to "Allow".
- Make sure "Block new requests asking to allow notifications" is unchecked.
- Click the
Source: http://mzl.la/20jwSoU
Firefox (Android):
- Tap the 3 dots on the bottom right corner of the app.
- Tap Settings.
- Tap Site permissions.
- Tap Exceptions.
- Tap Clear permissions on all sites or manually clear the permissions for the website you're facing this issue on.
- Go back and ensure that the Notification site permission under Site permissions is set to Ask to allow.