You need to enable JavaScript to run this app. 为什么Chrome扩展Manifest V3配置权限后发请求仍不携带Cookie?
优惠活动
大模型
产品
解决方案
定价
更多

为什么Chrome扩展Manifest V3配置权限后发请求仍不携带Cookie?

已完成的配置项

  • 已将跨域目标主机加入扩展的 host_permissions 权限列表
  • 已配置 content_security_policy.extension_pages 规则为 "default-src 'self'; connect-src 'self' https://example.org/"
  • 发起跨域请求时,已为请求设置参数:mode: cors、credentials: include

现存异常

上述配置完成后,跨域请求携带Cookie的问题仍未解决。
在开发者工具中开启「显示已筛选的请求Cookie」选项后,可直接查看所有被浏览器丢弃的请求Cookie明细。

内容的提问来源于stack exchange,提问作者Anton1

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.11.06 22:54:05