In general, I’m a fan of new capabilities that come to the web platform. Unfortunately, sometimes a new feature is released that is abused as hell by web sites making you wish the feature had never even been considered. In this case, I don’t necessarily blame web developers, as I think they already know that a particular feature is being abused, but rather managers who insist that they know what they’re doing and “users really want this”.
And hell, I’m old and cranky so maybe I’m just in the minority. If you are too, then this post is for you.
Have you noticed that nearly every damn site you go to prompts you to enable notifications?
Image from Mozilla.org
This is part of the Push API which in itself is a good idea, but apparently 90% of the internet decided that on your very first visit to their web page they were going to prompt you to enable notifications.
This is basically the same as meeting someone for the first time and them asking if they can bring a few things over to put in your bathroom for when they spend the night.
I wouldn’t mind this so much if it wasn’t so obtrusive. You could wait till the person has visited a few times, or include UI in the header/footer some place where the user could click to initiate the process. That’s never going to happen. Luckily you can disable it.
Thanks go to Dan Callahan of the Mozilla organization for sharing the following two links.
First, here is how you disable it in Firefox: https://support.mozilla.org/en-US/kb/push-notifications-firefox#w_how-do-i-stop-firefox-asking-me-to-allow-notifications
While you should follow that link in case it changes, the gist is:
Optionsfrom the menu button.
Privacy & Securityand scroll to permissions.
Settingsnext to Notifications
- Click the checkbox on
Block new requests to allow notifications
This is the global block and Firefox does allow site by site settings.
As an aside, Firefox considers this notification spam an issue too and is taking steps to reduce it: Reducing Notification Permission Prompt Spam in Firefox
And here is how you do it in Chrome: https://www.ghacks.net/2016/02/19/disable-show-notifications-prompts-in-google-chrome/
As I said with the Firefox link, you should hit the above URL in case it changes, but the process is:
- Go to
- And then toggle the top setting from
Ask before sendingto
Blocked. Chrome wants you to think
Askis recommended. Screw that.
And finally, believe it or not Safari also supports Web Push. While I couldn’t find a URL to share, you can go to
Websites, and click on
Notifications. They also allow a global “Leave me the frack alone” setting:
That’s it. I hope this helps!
Header photo by Jason Rosewell on Unsplash