儲存空間分區淘汰試用續約
自 Chrome 115 起,儲存空間、服務工作者和通訊 API 會在第三方內容中分區。從 Chrome 113 到 126,網站可以參與淘汰試驗,暫時取消分割並還原儲存空間、服務工作者和通訊 API 的舊行為。
從 Chrome 125 開始,我們在 Storage Access API 中提供非 Cookie 儲存空間支援功能,這應該可解決未分割儲存空間的大部分用途。
如果這些用途不符合您的需求,您現在可以為 Chrome 127 到 132 (含) 之間版本的使用者,申請延長 DisableThirdPartyStoragePartitioning 淘汰試驗的期限,最多可延長 6 個里程碑。
資格條件和審查程序
這項淘汰前試用方案的續約方案需要經過審查和核准程序才能參與。凡是先前已註冊 DisableThirdPartyStoragePartitioning 試用方案的網站,皆符合資格。
我們會按照以下程序處理註冊要求:
- 如果網站可以提供 DisableThirdPartyStoragePartitioning 的淘汰前試用權杖,且該權杖與他們要求續約的來源相符,註冊要求就會獲得核准。
- 否則註冊要求會遭到拒絕。
申請淘汰試用期續約
提交申請後,您會收到電子郵件通知,內含自動產生的支援單,要求您提供先前核發的淘汰版試用權杖代碼副本。
提交後,我們會審查您的要求,並在審查完成或需要額外資訊時通知您,以及您的要求是否獲得核准。您也會收到結果的狀態和原因。獲得核准後,您可以視需要提供試用權杖記號。如果遭到拒絕,請按照要求支援單中的指示操作。
部署更新的淘汰試用權杖
如先前所述,您必須使用 HTML <meta>
標記提供符記 (而且第三方符記必須透過 JavaScript 從您需要解除分割的第三方來源插入)。不支援 HTTP 標頭方法。必須部署新的權杖,否則無法註冊並獲得續約權杖。
將非 Cookie 擴充功能加入 SAA
您可以進一步瞭解 Storage Access API (以及針對非 Cookie 儲存空間的新擴充功能)、閱讀說明文件,以及觀看示範。自 Chrome 119 起,您可以使用這個 API 存取未分割的 Cookie,而 Chrome 125 則新增了對非 Cookie 儲存空間的未分割存取權。
提供意見
請將您遇到的任何意見回饋或問題提交至 Partitioned Storage deprecation trial GitHub repository。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-05-25 (世界標準時間)。
[null,null,["上次更新時間:2024-05-25 (世界標準時間)。"],[[["As of Chrome 115, storage, service workers, and communication APIs are partitioned in third-party contexts, impacting prior website behavior."],["Sites can request a renewal for the DisableThirdPartyStoragePartitioning deprecation trial to temporarily restore previous functionality for an additional six milestones, supporting Chrome versions 127 to 132."],["Eligibility for renewal requires a previously issued deprecation trial token matching the requesting origin, ensuring only existing trial participants can extend their involvement."],["Chrome now supports non-cookie storage in the Storage Access API to address use cases for unpartitioned storage, offering an alternative solution for developers."],["Developers can share feedback and encountered issues through the Partitioned Storage deprecation trial GitHub repository, contributing to the ongoing development and improvement of the feature."]]],["Sites in a previous storage partitioning deprecation trial can renew it for Chrome versions 127-132. Renewal requires an approved registration. To apply, register via the \"DisableThirdPartyStoragePartitioning2\" trial page. Provide requested information, including a previous trial token. If approved, deploy the new token using an HTML `\u003cmeta\u003e` tag, as the HTTP header method is unsupported. Non-cookie storage in the Storage Access API was added in Chrome 125. Feedback can be submitted through the GitHub repository.\n"]]