Chrome 扩展 API 中有没有办法为 3rd 方 cookie 添加异常 URL?
我查看了内容设置和隐私,但一无所获。我知道我可以完全强制允许第 3 方 cookie,但这对用户来说似乎是侵入性的。
Chrome 扩展 API 中有没有办法为 3rd 方 cookie 添加异常 URL?
我查看了内容设置和隐私,但一无所获。我知道我可以完全强制允许第 3 方 cookie,但这对用户来说似乎是侵入性的。
It's not even possible to do it manually by going to chrome://settings/contentExceptions#cookies
If the "Block third-party cookies" setting is enabled, you cannot add any exception! You can only disable this option and allow all third-party cookies at the same time.
Pretty stupid from Google, I guess they're trying to force users to not block third-party cookies.
I'm always blocking third-party cookies, but because it wasn't working for attachments in gmail (emails are served from mail.google.com
and attachements from mail-attachment.googleusercontent.com
) I wanted to add those two domains to the exception list but cookies would still remain blocked. Only disabling the "Block third-party cookies" option would allow cookies to be set from third-party domains.
Hope that clears things up. Cheers!