![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How do I tell Firefox to NEVER allow ANY web site to notify me of ANYTHING and not to EVER bother me again about the subject?
The question says it all. Also, same problem with trackers. How do I set up Firefox to not bother me about these issues, just reject the request automatically?
所有回覆 (2)
Hi, yes is it not something. Please consider turning on send info to Mozilla from with in Firefox before posting a question. This helps us help you. I have no info from your system that would help see things that cause issues as I can not see add-ons/extensions or corrupted video card drivers ect...
https://www.howtogeek.com/288946/how-to-stop-websites-from-asking-to-show-notifications/ WEBSITE PUSH NOTIFICATIONS
Websites can ask you to accept several different kinds of communications and updates:
- Desktop notifications - if allowed, the site can send notifications for Firefox to display in the lower corner of your screen until you close the last tab for a site.
- Web push notifications - if allowed, the site can send desktop notifications for Firefox to display in the lower corner of your screen even after the last tab for the site is closed (until you exit Firefox).
- Web push updates - if allowed, the site can send Firefox updates in the background, which presumably is more efficient that forcibly refreshing a page or having a script in the page keep checking for updates. This push feature is NOT a desktop notification, but Firefox may use the notification permission panel, which I hope will be changed in the future since that's a bit confusing.
Site-Specific Permissions/Blocks
If the drop-panel is not available or does not work for you, while viewing the site where you want to modify a previously given permission, you can use the Permissions panel of the Page Info dialog. To call that up, either:
- right-click (on Mac, Ctrl+click) a blank area of the page and choose View Page Info > Permissions
(menu bar) Tools menu > Page Info > Permissions click the padlock or "i" icon to the left of the site address, then the ">" icon, then More Information > Permissions
Scroll down to "Receive Notifications" and you can check the "Use default" box (so you are prompted in the future) or uncheck that box and select the permission you prefer (for example, Block).
There's no save button for this panel, changes are saved as you go.
Session Do Not Disturb
To disable all desktop notifications for the rest of your Firefox session (i.e., until you exit Firefox), you can turn on "Do Not Disturb" on the Options/Preferences page, Content panel. Either:
- Windows: "3-bar" menu button (or Tools menu) > Options, then in the left column click Content
Mac: "3-bar" menu button (or Firefox menu) > Preferences, then in the left column click Content Linux: "3-bar" menu button (or Edit menu) > Preferences, then in the left column click Content Anyone: Type or paste about:preferences#content in the address bar and press Enter/Return (you can bookmark this for faster future access)
On the right side, under "Notifications", check the "Do not disturb me" box. This is for your current session only.
All-Site Persistent Disable
There are two different preferences for notifications, a master switch, and one which is specific to background (web push) notifications that can appear after you leave the site which sends them.
(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.
(2) In the search box above the list, type or paste webno and pause while the list is filtered
(3) To disable PUSH NOTIFICATIONS, double-click the dom.webnotifications.serviceworker.enabled preference to switch its value from true to false -- sites can still generate desktop notifications while you have a tab open to the site
(4) To disable ALL NOTIFICATIONS, double-click the dom.webnotifications.enabled preference to switch its value from true to false -- this is a master switch, you won't get any desktop notifications from sites
(5) To also disable BACKGROUND UPDATES, double-click the dom.push.enabled preference to switch its value from true to false -- but that may block actually useful services from sites you trust, so I don't recommend it at this point. (Note: you need to edit the text in the filter box above the list to display this preference.)
Troubleshooting: Site-Specific Permissions Are Forgotten?
Whether you enter a site permission through a drop-panel or the Page Info dialog, Firefox should remember your choice. If you are losing site-specific permissions, one possible reason is if Firefox is set to "Clear history" when it closes on the Options/Preferences page.
If you use that setting, check to the right of it for a Settings button. Click that, and make sure that "Site Preferences" is not checked -- when that's checked, you'll lose all your Allow/Block settings every time you close Firefox.
Troubleshooting: Pages still display a permission dialog
Website scripts can display pre-permission dialogs even if Firefox ultimately won't allow the services. This is beyond the control of Firefox, but possibly could be tamped down with add-ons.
As per can not see add-ons your are possibly getting the warnings from a adblocker as Firefox does not warn about trackers.
Please let us know if this solved your issue or if need further assistance.
Sam.Spade said
Also, same problem with trackers. How do I set up Firefox to not bother me about these issues, just reject the request automatically?
What is Firefox asking you about trackers? That wording is not familiar.
Do you mean sites that want you to share your location? If you do not want Firefox asking you when it gets that kind of request from a site, you can set Firefox to Block location access by default. Then if you know a site wants precise location and you WANT to share with that site, you can set a site exception.
(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.
(2) In the search box above the list, type or paste geo and pause while the list is filtered
(3) Double-click the permissions.default.geo preference and enter the value for the desired default behavior:
- 0 = Always Ask (default)
- 1 = Allow
- 2 = Block
A site-specific exception can be established using either (A) the Page Info dialog, while you are on the site, or (B) the Settings dialog on the Options page.
Permissions panel of the Page Info dialog
While you're on the site, you can call that up using any of these:
- right-click a blank area of the page and choose View Page Info > Permissions
- (menu bar) Tools menu > Page Info > Permissions
- click the padlock or "i" icon to the left of the site address, then the ">" icon, then More Information > Permissions
Near the top, you'll find "Access Your Location" and you can uncheck the "Use default" box and select the permission you prefer.
Settings dialog
I suggest adding an exception through the Page Info method first so you can see the pattern for entering sites here. Then:
- Windows: "3-bar" menu button (or Tools menu) > Options
- Mac: "3-bar" menu button (or Firefox menu) > Preferences
- Linux: "3-bar" menu button (or Edit menu) > Preferences
- Any system: type or paste about:preferences into the address bar and press Enter/Return to load it
In the search box at the top of the page, type locat and Firefox should filter to the "Permissions" section. Click the Settings button next to Location.