Question: Why does the Firefox subscription bell button not show up, or why is no permission prompt displayed?
Answer: Modern Firefox restricts notification permission requests, so the behaviour differs from what it was in older versions:
- A user gesture is required (Firefox 72 and later). Firefox shows the full permission dialog only when the request is made inside a short-running handler of a real user action (a click). If the Web SDK asks for the permission automatically on page load, Firefox instantly rejects the request and displays only a small notification icon in the address bar — no prompt, and the widget may look unresponsive.
- "Not now" no longer exists (Firefox 70 and later). The soft "Not now" option was replaced with Never. If the visitor chooses "Never", the permission is set to denied permanently and Firefox will not ask again; the bell then shows its "blocked" state.
What to do:
- Initialize the Web SDK with
autoSubscribe: falseand enablesubscribeWidget, so that the permission is requested by the visitor's click on the bell. - If the visitor previously chose "Never", the permission must be reset by the visitor: click the padlock icon in the address bar → Clear permission, or Settings → Privacy & Security → Permissions → Notifications → remove the site.
- Note that the permission state is per-origin, so testing on
http://or on a different subdomain will behave differently.
See Push subscription button in the Pushwoosh documentation.
Comments
0 comments
Please sign in to leave a comment.