DEV Community

Cover image for How to Disable Notification Requests in Modern Browsers
Alex Lakatos 🥑
Alex Lakatos 🥑

Posted on • Originally published at alexlakatos.com on

5

How to Disable Notification Requests in Modern Browsers

I absolutely hate it when web pages ask me for permission to send notifications. Most often, the same web pages ask me for an email as well. That’s incredibly spammy. I understand their “Marketing” department is struggling, but this really isn’t the way to go. Browser notifications are all kinds of spammy, the same way push notifications on the phone are.

I’ve been ignoring the requests for the most part, but inevitably a few of them made it through. A lot of these spammy websites are using dark patterns in terms of where the buttons are placed. I inadvertently clicked in the wrong place at the wrong time. You’d think it wasn’t that big of a problem. Still, with me using 4 different browsers consistently (because I’m comparing their Developer Tools for a course), it did mean I now have multiple notifications for the same website popping up.

Well, I’ve had enough! I spent a little time figuring out how to block modern browsers from sending notification requests. And I thought I’d eventually need to block them again, so I should document the process. If it happens to be helpful to someone else, that’s even better.

Google Chrome

Disable Push Notifications in Google Chrome

  • Go to chrome://settings/content/notifications
  • Disable Sites can ask to send notifications

Chrome has a softer option to use quieter messaging. It blocks notification prompts from interrupting you, but I haven’t been brave enough to try it. Let me know if you use it.

Mozilla Firefox

Disable Push Notifications in Mozilla Firefox

  • Go to about:preferences#privacy
  • Scroll to the Permissions section
  • Click on the Notifications Settings
  • Check the Block new requests asking to allow notifications box

Microsoft Edge

Disable Push Notifications in Microsoft Edge

  • Go to edge://settings/content/notifications
  • Disable Ask before sending

Edge has a softer option to use quiet notification requests. It prevents notification requests from interrupting you, but I haven’t been brave enough to try it. Let me know if you use it.

Safari

Disable Push Notifications in Apple Safari

  • Select Preferences in the Menu bar
  • Click on the Websites tab
  • Scroll to Notifications
  • Deselect Allow websites to ask for permission to send notifications

Brave

Disable Push Notifications in Brave Browser

  • Go to brave://settings/content/notifications
  • Disable Sites can ask to send notifications

Brave has a softer option to use quieter messaging. It blocks notification prompts from interrupting you, but I haven't been "brave" enough to try it. Let me know if you use it.


Have you found this article at all useful? If you did, follow me on Twitter. It would make my day! Oh, that’s where I also regularly share tips and tricks for getting the most out of your browsers 😅.

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️