已延長獨立狀態 (CHIPS) 來源試用的 Cookie
在 2022 年 10 月 25 日以前,我們將在 Chrome 106 以上版本提供來源試用。
CHIPS 是 Privacy Sandbox 提案,推出一種機制,可讓第三方 Cookie 透過新的 Cookie 屬性 Partitioned
依頂層網站劃分。
這項實驗於 2022 年 3 月 29 日於 Chrome 100 開始,預計執行至 2022 年 6 月 14 日。
從 103 版開始,Chrome 將針對 HTTP Cookie 提供替代的 CHIPS 來源試用設計,該試用機制應啟用選擇採用機制,讓大型機構更容易部署。
在新版設計中,您不再需要傳送 Accept-CH: Sec-CH-Partitioned-Cookies
標頭來註冊來源試用。網站只有在傳送含有 Set-Cookie
標頭含有 Partitioned
屬性的回應時,才需要傳送 Origin-Trial
標頭和 CHIPS 來源試用權杖。
如要註冊來源試用並開始實驗,請參閱 CHIPS 來源試用操作說明。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-05-26 (世界標準時間)。
[null,null,["上次更新時間:2022-05-26 (世界標準時間)。"],[[["The CHIPS origin trial has been extended on Chrome 106+ until October 25, 2022, allowing more time for testing and feedback."],["CHIPS enables third-party cookies to be partitioned by top-level site using a new `Partitioned` attribute for opt-in functionality."],["Starting in Chrome 103, an alternative design simplifies the opt-in by removing the need for the `Accept-CH: Sec-CH-Partitioned-Cookies` header."],["Sites can participate in the trial by including the `Origin-Trial` header with their token when sending responses containing `Set-Cookie` with the `Partitioned` attribute."]]],["The CHIPS (Cookies Having Independent Partitioned State) origin trial, a Privacy Sandbox proposal, partitions third-party cookies by top-level site. It was extended to run on Chrome 106+ until October 25, 2022. An alternative design for HTTP cookies in Chrome 103+ allows opt-in without requiring the `Accept-CH: Sec-CH-Partitioned-Cookies` header. Instead, sites need to send the `Origin-Trial` header with the CHIPS origin trial token alongside `Set-Cookie` and the `Partitioned` attribute.\n"]]