I am using Firefox (version 58.0.1) and for awhile now, Firefox and other browsers have implemented this feature known as 'Push Notifications.'

It now seems like every site wants to 'Push' notifications to you. This has become a new form of pop-up, and is an intrusive technology. Because of this constant bombardment of push notification requests, I wish to completely disable push notifications.

I do not wish to disable on a site-by-site basis. I want to disable this 'feature' completely, for every site, forever.

sample push notification request

I have looked through the Firefox settings, and through the documentation on the Mozilla website, but there is nothing official on how to disable the Push Notifications. 2

  • 2
    Best practice for this API is that sites should first tell you why they need notifications, and only then request permission. However there's a plague of sites that ask for this permission without any context. I'm worried that a useful feature gets degraded this way – Kos Mar 4 '18 at 7:41
  • 2
    The amusing thing is, I'd really like a leading network of QA sites to support this... – Journeyman Geek Mar 4 '18 at 8:19
  • @Kos While I agree in principle, the abuse of this feature for antipatterns is already quite evident, unfortunately. I actually wonder how the W3 thought that this would not be abused. I think the only way for this work is for sites work in an opt-in request model, without the popup, because that is what this is, just a new version of popup Windows. – David Mar 4 '18 at 10:48

From further research, I discovered that you have to go into the about:config interface. HERE BE DRAGONS! (1) Or if you use the American locale, Your warranty might be voided (2)

I changed four settings to FALSE:

  • dom.webnotifications.enabled
  • dom.webnotifications.serviceworker.enabled
  • dom.pushconnection.enabled
  • dom.push.enabled

(1) Here be dragons:

Here be dragons

(2) This might void your warranty: This might void your warranty!

| improve this answer | |
  • 3
    Definitely a good Q&A! That being said, while the whole Here Be Dragons thing is rather amusing, perhaps it depends upon version and/or your regional locale. I am utilizing the En-US 64-bit version of Firefox 58.0.2, and my about:config page never says that. – Run5k Mar 3 '18 at 18:20
  • 1
    @Run5k - I have added a screen capture for you. I have always seen this. – David Mar 3 '18 at 18:53
  • David, I know that you have the best of intentions, but please remember that this answer isn't specifically for your benefit. It is designed to help the community as a whole, and we have already established that the humorous Here be dragons! screen is strictly a regional version. As a result, it could potentially confuse a large percentage of the people viewing this answer. Including it is simply unnecessary, and actually a bit counterproductive. – Run5k Apr 14 '18 at 22:41
  • 1
    This is the correct answer. Firefox's preferences dialog has become such a dumpster fire, about:config is easy to use by comparison. @Run5k's answer isn't going to be helpful in the long run since it requires detailed screenshots which are going to become obsolete with each release of the software. – Cerin Apr 29 '19 at 15:14
  • 1
    @Run5k, Please don't tell me what I can upvote or downvote. Your answer is less useful than this one for the reasons I wrote. That's the whole point of the votes. Don't take it personally. Yes, about:config is subtle, but as the large number of Google results "explaining" how to use the preferences dialog shows, most users don't realize that exists either or don't understand how to find anything in it. The nice thing about the about:config interface is that it doesn't completely change with each release, so once you know how to use it, you're job is done. – Cerin Apr 29 '19 at 19:50

With the release of Firefox 59, we can now disable push notifications using the default Options page.

The official release notes for Firefox 59 described the modification:

Added settings in about:preferences to stop websites from asking to send notifications

You can configure this option in the following manner:

  1. Navigate to the about:preferences page
  2. Click on Privacy & Security on the upper-left
  3. Scroll down to the Permissions section on the right
  4. Click on the Settings... button associated with Notifications

    Privacy & Security

  5. In the subsequent window check the box to Block new requests asking to allow notifications
  6. Click the Save Changes button

    Settings - Notification Permissions

| improve this answer | |

Disable push notifications and sync config

Paste this lines to config prefs.js file You can find the config file at:


user_pref("dom.webnotifications.enabled", false);
user_pref("dom.webnotifications.enabled", false);
user_pref("dom.webnotifications.serviceworker.enabled", false);
user_pref("dom.pushconnection.enabled", false);
user_pref("dom.push.enabled", false);
user_pref("services.sync.prefs.sync.dom.webnotifications.enabled", true);
user_pref("services.sync.prefs.sync.dom.webnotifications.serviceworker.enabled", true);
user_pref("services.sync.prefs.sync.dom.pushconnection.enabled", true);
user_pref("services.sync.prefs.sync.dom.push.enabled", true);
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.