4 ms·
If you're like me you might want to take this as a push to disable all notifications in Firefox: https://superuser.com/questions/1300131/how-to-completely-disa
by m_eiman 3y ago
If you're like me you might want to take this as a push to disable all notifications in Firefox:
https://superuser.com/questions/1300131/how-to-completely-disable-push-notifications-in-firefox https://superuser.com/questions/1300131/how-to-completely-di...
- harg 3y agoIt's a shame that some sites are abusing this potentially useful feature to try and increase engagement on their site. The correct (IMO) way to use this is to request permission after a user initiates it. E.g. clicking a button somewhere in the UI that says "Enable notifications" whilst being in some context where it makes sense to potentially want to enable them. This is how the web share API works. Calling `navigator.share()` without user interaction will fail as it requires "transient activation"[2] [1]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Share_API https://developer.mozilla.org/en-US/docs/Web/API/Web_Share_A... [2]: https://developer.mozilla.org/en-US/docs/Glossary/Transient_activation https://developer.mozilla.org/en-US/docs/Glossary/Transient_...
- whalesalad 3y ago> It's a shame that some sites are abusing this potentially useful feature to try and increase engagement on their site. First time on the internet?
- marcosdumay 3y agoFirefox requires both that the user initiates the action that enables the push, and that the user then accepts to receive the notifications in a dialog from the browser itself. That question is quite old. Nowadays nobody have that kind of problem.
- dathinab 3y agoyesn't social engineering and people not understanding anything about technology are a thing, I had to disable notifications for an older person before but at least no one who potentially is on HN should have that problem ;=)
- barryrandall 3y agoAny browser feature that allows sites to pop up any sort of dialog will be used to harass people, usually for ads. That might as well be a law of the internet.
- barryrandall 3y agoTL;DR: Settings -> Privacy and Security -> Notifications -> Block new requests asking to allow notifications