Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

is there centralized control access for html5 notifications permissions?

  • 3 відповіді
  • 4 мають цю проблему
  • 16 переглядів
  • Остання відповідь від guigs

more options

the desktop notifications permissions used by websites to control the creation of desktop notifications—for things like email and twitter—seems to have no centralized control. looking around i found the permissions manager (about:permissions) and the alert slide effect toggle in about:config but neither of these seem to have the permissions for the display of notifications.

  as far as i can tell the only place i can go to control these permissions are the individual pages themselves for which the permission was granted, under the page info > permissions tab. this would be fine but if i wanted to revoke this/these permissions globally i would need to remember and revisit all websites to which i had granted the permission.
  permissions manager seems like it was made for just such a purpose: to centrally locate global and individual permissions granted to websites. but the websites that i have granted this permission do not even show up in the list. i find this curious as in those pages "view page info" > permissions tab the same permissions that other sites have that are listed in permissions manager are listed directly above the notifications permission in the page info window.
  is there a centralized control for the notifications permission? if yes; where is it? if no; could it please be implemented?
  chrome has notification permission control in their advanced settings. easy to find. not like about:permissions.
the desktop notifications permissions used by websites to control the creation of desktop notifications—for things like email and twitter—seems to have no centralized control. looking around i found the permissions manager (about:permissions) and the alert slide effect toggle in about:config but neither of these seem to have the permissions for the display of notifications. as far as i can tell the only place i can go to control these permissions are the individual pages themselves for which the permission was granted, under the page info > permissions tab. this would be fine but if i wanted to revoke this/these permissions globally i would need to remember and revisit all websites to which i had granted the permission. permissions manager seems like it was made for just such a purpose: to centrally locate global and individual permissions granted to websites. but the websites that i have granted this permission do not even show up in the list. i find this curious as in those pages "view page info" > permissions tab the same permissions that other sites have that are listed in permissions manager are listed directly above the notifications permission in the page info window. is there a centralized control for the notifications permission? if yes; where is it? if no; could it please be implemented? chrome has notification permission control in their advanced settings. easy to find. not like about:permissions.

Усі відповіді (3)

more options

Hi b33f3r,

Thank you for your question, I am curious as well. I don't think so, but I will try the new Metro. There is something called a notification api that is par of the web toolkit. https://developer.mozilla.org/en-US/d.../notification Though I am pretty sure it was deprecated. The notification api is here https://developer.mozilla.org/en-US/d.../Using_Web_Notifications If you click on that link in Aurora and 27.0.1 the pop up will come up asking for your permission to allow notifications on the MDN notification website. Though you are right, oddly it does not show up in the about:permissions page.

Oh I know! Its in the Firefox > Preferences/Options > Security> 1st Exception Button. That is the list for allowing collective things. I'd imagine if they did that for every api that options menu would not be very pretty. That is there though, I hope this helps.

If it is not there, it sounds like an add on or social media software that was given permission to do that, however it requires a manifest file, so I will assume it has to be an add on.

more options

i should have stated in my original question: i am using firefox 27.0.1. my addons/extensions consist almost entirely of privacy and developer themed addons ie: noscript, priv3, ghostery, firebug, jsonview, and html validator.

the exceptions button you referred to in the security tab is not for allowing collective things. that button is for listing the sites allowed/denied to install addons. i checked every page and every button in the options window before i started looking online for information about notifications. that is how i found the about:permissions page.

the functionality of notifications i refer to is built into firefox. it is not from a addon/extension as the desktop notifications work while i am running in safe mode. so no, it is not a third party addon. if it were then the management of the permissions it is granted would be done through it. there are likely addons i could get for desktop notifications but i doubt they would be using the html5 spec notifications feature and thus not useful for my purposes.

for reference the specific website that brought this feature to my attention and hence the management thereof was mail.google.com. on the general tab of the settings page for your inbox allows you to turn on or off desktop notifications of incoming mail as it is received. if you turn on the notifications the browser will ask you to grant or deny permission to the site for the display of notifications. a few days later i was thinking about these notifications and was curious how i would go about revoking the permission after it had been granted. i knew how to turn off the display of notifications by gmail, but that was not the same as revoking the permission. this search ultimately led me here.

as i stated before the permissions of a site can be viewed by looking at the page info > permissions tab, accessible from the right click menu on the page. this however, as guigs2 found, seems to be the only place where the notifications permission is found. if it were also available on the about:permissions page that would satisfy my desire for a centralized control system of the notifications permission.

Змінено b33f3r

more options

You are right, there is no centralized place to manage notifications in the browser. For mail.google.com, in the settings > general tab > desktop notifications is where you can turn these off.

This may not be the best solution but adding a feature like this would be much more convenient [Bug 980473 - [FR] manage all browser notifications]