https://developer.mozilla.org/en-US/docs/Web/API/Push_API
I always say "No" because, in every other sphere, the brands I interact with want to communicate with me much more than I want to be communicated with. Does anyone else do differently?
This is usually under Settings, "Site Settings", "Site Permissions", or similar names.
One of the first things I always do when setting up a web browser from scratch, is to disable notifications. It is muscle memory, at this point. Otherwise, lots of websites will bother me trying to get permission to show me useless notifications.
a few months ago I was helping an older family friend with a computer issue. she said she had a virus on her Windows laptop, she couldn't find her Norton account credentials, panicked and bought a Kaspersky anti-virus product, and needed help installing it. I was surprised, because I thought normal, non-content-pirating computer users getting viruses was mostly a thing of the past, and I certainly don't miss the days of having different antivirus, antimalware, antispyware, etc. etc. programs just to "catch everything."
well, it turned out there was no virus, it was just Chrome notifications from some URLs she had inadvertently allowed push notifications from, and these push notifications were doing the old classic popup thing of mimicking system UI dialogs informing you that a virus scan has found 173 viruses, click here to download the thing that will fix it that totally isn't malware itself. Windows 10 makes this attack vector very convincing for the average person because the notifications show up in the system notifications tray, so if you don't know what to look for, it can seem like a legitimate system alert popping up while you're doing something else.
I’ve never accepted a random drive by request though
The popup sucks. Since its in browser, it's capable of being improved. As in: blocked.
[Edit: there is. Settings->Advanced->Site Settings->Notifications and set the toggle to deny. ]
This should handle all future requests.
To answer your question, "Notifications" are a dirty word to me, and this behavior is not allowed on my machines.
https://support.mozilla.org/en-US/kb/push-notifications-fire...
And Safari:
https://support.apple.com/guide/safari/customize-website-not...
I allow sites like webmail services and web based chat apps to send notifications.
In Safari I've unchecked "allow websites to ask for permission to send notifications" but it doesn't work - I still get banner ads in the page asking me for @#$@#$ notifications. No, just no. And don't try to evade the browser preference.
Law of "Not our popups": For every browser feature designed to improve the user experience, web designers will think that users could never (ever!) want it to apply to their site so they will do their best to break the feature and deliver the unwanted content or feature (pop-up windows, tracking/unblockable cookies, auto-playing video, etc..) in direct contravention of user preference settings.
There are so many dodgy sites with notification popup tricks (and that company that makes that fake dialog that asks you if you want notifications every time, so that they can keep bugging you unlike the real notification dialog which bugs you only once). At this point i think people associate notification prompts with malware sites so it s not a good look
Plenty of people enable it for the web interface for whichever email service they use.
Thsi question has made me think about whether my service, purpleport.com, should ask to send notifications or not :-p
They're designed to trick most people into getting spam indefinitely and never being able to turn it off