
Starting with Firefox 44, websites can send messages to users if they agree through Push mechanism, these are called Push Notifications. Until and unless you give permission, no service will send you these push messages, but a site can ask you to show notifications.
For instance, since Yahoo mail supports desktop notifications in Firefox, it requests the user like this: ‘Would you like to receive notifications from this site’ and you’ve three options: Always Receive Notifications, Always Block Notifications, and Not Now.
If you’ve accepted to receive notifications, then follow the below steps to stop getting notifications from that site or multiple sites.
1. Click on Firefox Menu, select > Options > Content, click on ‘Choose’ under ‘Notifications‘,
2. Select the site and click ‘remove site‘
To remove all websites that are showing notifications, you need to click Remove All Sites button.
FYI, Firefox also offers ‘Do not Disturb me’ button in the Content Section of Settings for Notifications, which, when enabled, no notifications from websites will be shown to the user until the restart of Firefox browser, this is a temporary fix.
To permanently disable or turn off desktop and Push notifications in Firefox
1.Visit about:config
2. Find the preference dom.webnotifications.enabled and change its value to false.
3. Done.
From now on, no website will request you to show notifications in Firefox browser, including those related to desktop.
UPDATE: Firefox 59 offers New Settings to block Notifications
Thank you. I was about to start searching through “about:config” for a setting to disable this annoying “feature”, but decided on a quick search here first. You saved me the time, trouble and trial-and-error testing on my own. Very handy and timely, as usual.
You’re welcome Bill.
It gets really annoying that all of these features get enabled by default, so every time you get your browser working correctly you have to go through a slew of disabling junk you don’t want and never asked for with each update.
Thank you so much for the permanent fix. I was about to go mad. I kept clicking on “Always Block Notifications” and it kept coming back. I was thinking what part of ALWAYS don’t you understand? Thanks again.
I agree with both commenters above. This is very annoying, and completely useless. Thanks!
Thank God!!! And you!!
Thank you!
Instead of having to dig into the config, the situation should instead be:
* website notifications disabled globally as the default option in Firefox, changeable through Options, or
* the dialog window drop-down list should offer the ability to disable globally for all websites
Clearly someone at Mozilla has taken a back-hander. No-one in their right mind would inflict this annoyance vector on users without being paid.
Makes me wonder about the security of Firefox and how information is shared with websites. Thanks for providing the solution!
Thank you. No one else is explaining what to do with this problem, it seems.
God bless you!
This info is a real blessing for people who are easily distracted and are desperately trying to remain in control of what they are doing. Such people often try to set up their own “fortess of solitude” where they can restrict intrusion and think for themselves along with their computer and whatever they happen to be working on. Intrusions like announcements or requests to be permitted to send anouncements are very distruptive. Thanks for being an ally in that fight.
dom.webnotifications.enabled=false no longer works in firefox 57.0
Yes Joe we’re aware of that. Seems we just need to use do not disturb option available in Notification Settings to stop sites from asking to show notifications for that session.