Closed Bug 1519781 Opened 7 years ago Closed 7 years ago

Add setting to stop showing ‘Will you allow [website_url] to send notifications?’

Categories

(Toolkit Graveyard :: Notifications and Alerts, enhancement)

64 Branch
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tukusejssirs, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

Open a website that is programmed to send notifications (e.g. facebook.com).

Actual results:

These websites always ask me if I want to allow the notifications sending to my device.

Btw, there are two types of these Firefox notifications (the little windows/modals that ask me to allow / not allow the notifications sending).

And this would happen on (at least) any desktop (Windows/Linux, probably on macOS, too) or Android devices. On Android devices, there is only one type of Firefox notification (the white one, the one that does not change according to the Firefox theme).

Expected results:

I’d like to see a setting that would disable altogether these notifications, as (1) I never allow them, (2) they get in my view.

Also, this setting should be synced via Firefox Sync.

Is this what you're looking for?

  1. In the address bar, enter about:preferences#privacy
  2. Scroll down to the Permissions category.
  3. Next to Notifications, click the Settings… button.
  4. Check Block new requests asking to allow notifications.
Severity: normal → enhancement
Component: Untriaged → DOM: Push Notifications
Flags: needinfo?(bolyosovci)
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All

To sync that setting, you can add a new Boolean pref in about:config, called services.sync.prefs.sync.permissions.default.desktop-notification and set to true. Bug 1519962 covers syncing these overrides by default.

Component: DOM: Push Notifications → Notifications and Alerts
Product: Core → Toolkit

What else is left to do in this bug then? :)

I missed both of these settings. They work as expected. Thank you. Sorry for opening this issue. :)

Flags: needinfo?(bolyosovci)

Thanks for getting back to us!

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.