8 ms·
How about web apps too not show annoying pop-ups which are pretty useless in most cases? Websites which show two pop-ups (custom pop-up followed by browser pop-
by krtkush 7y ago
How about web apps too not show annoying pop-ups which are pretty useless in most cases? Websites which show two pop-ups (custom pop-up followed by browser pop-up) are worse.
- megous 7y agoMy website doesn't show any popups. I have a settings dialog that user can open and setup email and other notifications. This will just not work anymore. I'll have to add some long winded FF specific explanation on what to do after clicking the button. Anyway the FF UI is broken if user physically can't see any reaction from the browser after he requests notifications by clicking anywhere on the page.
- johannh 7y agoIf your users are clicking a button then it should actually show the permission prompt, unless you're losing the user interaction somewhere in the callback (by doing something async first) https://hacks.mozilla.org/2019/11/upcoming-notification-permission-changes-in-firefox-72/ https://hacks.mozilla.org/2019/11/upcoming-notification-perm... This is a frequent "mistake"/issue however, and we're working on a mitigation for it.
- megous 7y agoI'm doing this: https://megous.com/dl/tmp/sub.txt https://megous.com/dl/tmp/sub.txt I guess this is then happening because I'm first checking if there's a subscription via `pushManager.getSubscription` before creating a new one in the event handler. Yep, dropping getSubscription makes the popup appear again.