Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

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

了解更多
Open

How to stop Firefox granting automatic cross-site cookie permissions?

loxia_01

How can I stop Firefox from automatic granting sites cross-site cookie permissions (see screenshot)? The problem is that the cross-site cookie(s) granted for a site more often than not is completely unrelated to that site. This problem is very frustrating.

I have tried changing several settings in Tracking Protection but nothing has stopped Firefox from auto-granting these permissions. I have for example turned off "Fix major site issues (recommended)" but it has not changed this behavior.

Thankful for any help.

How can I stop Firefox from automatic granting sites cross-site cookie permissions (see screenshot)? The problem is that the cross-site cookie(s) granted for a site more often than not is completely unrelated to that site. This problem is very frustrating. I have tried changing several settings in Tracking Protection but nothing has stopped Firefox from auto-granting these permissions. I have for example turned off "Fix major site issues (recommended)" but it has not changed this behavior. Thankful for any help.
附加的畫面擷圖

所有回覆 (7)

Settings > Privacy and security > Browsing data > Manage exceptions

amoun said

Settings > Privacy and security > Browsing data > Manage exceptions

How do you mean? If I add a site to that list cookies on that site will either be totally blocked or allowed. Has it any to do with cross-site cookies?

This is the "Automatic access" support.mozilla.org/en-US/kb/third-party-trackers#w_automatic-access right? I think that's the "custom" setting described in Third-party cookies and Firefox tracking protection — there's both the "Disable third-party cookies" section, as well as Total Cookie Protection jars and exceptions described if you want to look more into the background how these work/isolate.

jbr said

This is the "Automatic access" support.mozilla.org/en-US/kb/third-party-trackers#w_automatic-access right? I think that's the "custom" setting described in Third-party cookies and Firefox tracking protection — there's both the "Disable third-party cookies" section, as well as Total Cookie Protection jars and exceptions described if you want to look more into the background how these work/isolate.

Okay, thanks for reply. I will see if changing some settings here will do anything about it.

I found the setting at last. In about:config search for "auto_grants". Setting dom.storage_access.auto_grants to false seems to fix it.

EDIT: Have tested this setting a couple of days now and unfortunately Firefox still auto grants cookies.

由 loxia_01 於 修改

Disabling third-party cookies in ETP custom settings seem to work

由 Denys 於 修改

Denys said

Disabling third-party cookies in ETP custom settings seem to work

Do you mean "Block all cross-site cookies" in custom ETP settings? I believe I have tested that.

Will continue testing by flipping the master setting dom.storage_access.enabled to false.

EDIT: Yes, "Block all cross-site cookies" in custom ETP settings seems to stop most of the automatic cross-site cookie permissions. Perhaps together with the above config setting.

由 loxia_01 於 修改

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題