Web push notifications are a new way for the websites to interact with the user. Web sites ask the users whether they want to receive notifications, and if the user agrees they start displaying web push notifications even if you close the web page. Some of these notifications can be useful, for example, you can receive notifications about the new email messages arriving in the inbox of your web mail account. But if you are annoyed by the websites asking you for web push permissions, then Firefox web browser lets you disable them easily.
If you want to disable the web push notifications only for a single session or the current session, then it can be done through the GUI settings of Firefox in the following manner:
- Type about:preferences#content in the address bar of Firefox and press Enter. Alternatively, you can open Options from the Firefox menu and then switch to the Content section.
- Under the Notifications section, place a check-mark in the check-box labeled Do not disturb me.
- From this moment until you restart the Firefox web browser, you will no longer receive anymore web push notifications.
But if you want to permanently disable all kinds of web push notifications altogether, then you have to open the advanced settings manager to disable web push notifications:
- Type about:config in the address bar of Firefox and press Enter. When the warning appears, click on the I’ll be careful button and proceed.
- Type push in the search bar to narrow down the settings we are looking for.
- Locate a setting named dom.push.enabled and double-click on it to change its value from true to false.
- Now either restart the browser, or reload all the open webpages in various tabs. You will no longer receive any web push notifications or permissions prompt to display them.