搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Cannot turn off "Switch to this tab" notification.

  • 6 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

So I enabled push notifications for Google Calendar. Every time there's a notification, Google Calendar ask if I want to enable "Switch to this tab" for their notifications. I accidentally turned it on, then I managed to turn it off. Except it now keep asking me if I want to enable it.

Looking at the settings, the only two options available are "Always ask" and "Yes", with no way of just saying no... why?

So I enabled push notifications for Google Calendar. Every time there's a notification, Google Calendar ask if I want to enable "Switch to this tab" for their notifications. I accidentally turned it on, then I managed to turn it off. Except it now keep asking me if I want to enable it. Looking at the settings, the only two options available are "Always ask" and "Yes", with no way of just saying no... why?
附加的畫面擷圖

所有回覆 (6)

more options

You can revoke this push notification if you do not want it.

See "How do I revoke Web Push permissions for a specific site?":

more options

True, but then I wouldn't get the notifications at all.

I don't want to turn off the notifications, I just want the site to stop asking to enable "Switch to this tab"

more options

You can remove all data stored in Firefox for a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History -> Show All History" or "View -> Sidebar -> History").

Using "Forget About This Site" will remove all data stored in Firefox for this domain like history and cookies and passwords and exceptions and cache, so be careful. If you have a password or other data for that domain that you do not want to lose, make sure to backup this data or make a note.

You can't recover from this 'forget' unless you have a backup of involved files.

If you revisit a 'forgotten' website, data for that website will be saved once again.

more options

cor-el said

You can remove all data stored in Firefox for a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History -> Show All History" or "View -> Sidebar -> History"). Using "Forget About This Site" will remove all data stored in Firefox for this domain like history and cookies and passwords and exceptions and cache, so be careful. If you have a password or other data for that domain that you do not want to lose, make sure to backup this data or make a note. You can't recover from this 'forget' unless you have a backup of involved files. If you revisit a 'forgotten' website, data for that website will be saved once again.

Now that is just... completely unrelated to the question.

more options

Currently, instead of sending a push notification, it just does this pop-up when I go to the tab.

more options

The "Forget About This Site" was about removing all permissions for this origin (protocol and hostname).

That pop-up is the result of the default 'Always Ask' setting for switch to this tab. A push notification requires a service worker that runs in the background.

  • Page Info -> Permissions: Receive Notifications
  • Settings -> Privacy & Security -> Permissions -> Notifications

You can see all registered service workers on these special built-in about pages:

  • about:serviceworkers
  • about:debugging#workers

You can check WebSockets via this page:

  • about:networking#websockets