3

dom.webnotifications.enabled option disables notifications completely, which is not what is needed. Is it possible to just have notifications blocked for all websites unless I manually press bubble in adress bar and turn them on? Maybe there's a way to do it via injecting some JS into browser itself somehow?

4
  • At the bottom of this Mozilla answer it says websites can create the dialog even if all related services are disabled.
    – Jason
    Jan 2, 2018 at 16:35
  • @Jason I believe they are just talking about a page element designed to look like a permission popup. That's how I understand "pre-permission dialog". Jan 2, 2018 at 17:44
  • Isn't that what you're asking to disable, the permission dialog?
    – Jason
    Jan 2, 2018 at 17:48
  • @Jason Obviously, nothing can stop the programmer from doing whatever they like with their page, including emulating permission dialogs. So no, I am only asking about the native dialog: whether it is possible to have it as if I've already clicked "Never allow" for all the sites. Jan 2, 2018 at 17:53

0

Your Answer

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

Browse other questions tagged or ask your own question.