Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Require user gesture to request notification permissions #49

@Ajedi32

Description

@Ajedi32

One behavior I'm starting to notice with increasing frequency on the web is sites that immediately prompt users for permission to show desktop notifications the moment they land on the site.

This is very annoying and I nearly always immediately hit "Block", especially when it's just a random news article or forum post I got to through Google or Reddit. Personally I'd prefer if browsers would just ignore requests for this permission that occur automatically without any sort of user interaction.

As evidence that this is a problem, here's a short list of examples of sites that immediately prompt for notification permissions the moment you visit the site:

If you use Chrome, there's a pretty decent chance you can find numerous other examples by going to chrome://settings/content/notifications and looking through the list of sites you have set to explicitly block notifications from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions