Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How do I set the default permissions to "never" for notifications and location?

  • 3 답장
  • 21 이 문제를 만남
  • 77 보기
  • 최종 답변자: Bathsheba

more options

Is there a way to set the default for permissions globally rather than per individual website/domain? Specifically, I would like to stop being asked to allow a website to use my location or to allow notifications. I never want those things, but i cannot find a setting to change the default.

Thanks.

Is there a way to set the default for permissions globally rather than per individual website/domain? Specifically, I would like to stop being asked to allow a website to use my location or to allow notifications. I never want those things, but i cannot find a setting to change the default. Thanks.

선택된 해결법

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.)

문맥에 따라 이 답변을 읽어주세요 👍 11

모든 댓글 (3)

more options

선택된 해결법

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.)

글쓴이 Mkll 수정일시

more options

Thanks, MkII. The "All-Site Persistent Disable" is what I was looking for.

more options

Sure wish notifications-off was an exposed setting. Does any user want these?