google-chrome - Chrome 开发工具如何显示 cookie

标签 google-chrome cookies google-chrome-devtools

当我打开 Chrome 开发工具的资源面板时,我看到在许多域中设置了大量 cookie。我理解第一方和第三方 cookie 之间的定义差异,但我仍然理解它的含义。

Chrome 如何显示第一方 cookie 与第三方 cookie?例如,当我访问 Vice.com 时,我会在左侧栏中看到许多域(www.vice.com、platform.tumblr.com 等);如果我在左侧栏中选择 www.vice.com,我会看到更多域(.google.com、.ads.pubmatic.com、.scorecardresearch.com 等)。

我应该如何解释这个?

enter image description here

最佳答案

Chrome 开发者工具 documentation提供有关此的更多信息:

Cookies are listed by domain. This includes the main document as well as all nested frames. Selecting one of these “frame groups” displays all cookies, for all resources, for all frames in that group. There are two consequences of this grouping to be aware of:

  • Cookies from different domains may appear in the same frame group.
  • The same cookie may appear in several frame groups.

关于google-chrome - Chrome 开发工具如何显示 cookie,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30064419/

相关文章:

html - contenteditable margin 应用于其他绝对定位元素

cookies - 如何编码? response.cookie 与 asp 经典 - vbscript?

javascript - 以编程方式获取 Chrome 中的内存使用情况

javascript - 创建 Cookie 时需要帮助

php - php 中的安全 session /cookie

angular - 使用 angular cli 6 项目在 chrome 的工作区中处理组件 css 文件

google-chrome-devtools - headless chrome 可以创建带书签的 PDF 吗?

Javascript,以编程方式触发firefox中的文件下载

javascript - 通过扩展修改 Chrome Omnibox 值/文本

html - Favicons 拒绝在 IE 和 Chrome 中显示