儲存空間分區淘汰試用續約
自 Chrome 115 起,儲存空間、服務工作者和通訊 API 會在第三方內容中分區。在 Chrome 113 到 126 之間,網站可以參與淘汰前測,暫時取消分割並還原儲存空間、服務工作者和通訊 API 的舊行為。這項測試已從 127 更新為 132,並重新命名為 DisableThirdPartyStoragePartitioning2。
從 Chrome 125 開始,我們已在 Storage Access API 中提供非 Cookie 儲存空間支援功能,這應該可解決未分割儲存空間的大部分用途。
如果這些用途不符合要求,您現在可以為 Chrome 133 到 138 (含) 之間版本的使用者,申請延長 DisableThirdPartyStoragePartitioning3 淘汰試驗的期限,最多再延長 6 個里程碑。請注意,如果使用者已封鎖第三方 Cookie,這項試用方案就不會啟用未分割的第三方儲存空間。
資格條件和審查程序
這項淘汰前試用版的續約方案需要經過審查和核准程序才能參與。凡是先前已註冊 DisableThirdPartyStoragePartitioning2 試用計畫的網站,皆符合資格。
我們會按照以下程序處理註冊要求:
- 如果網站可以提供 DisableThirdPartyStoragePartitioning2 的淘汰試用權杖,且該權杖與要求續約的來源相符,註冊要求就會獲得核准。
- 否則,即使網站已註冊原始的 DisableThirdPartyStoragePartitioning 試用方案,註冊要求也會遭到拒絕。
申請淘汰試用期續約
- 前往 DisableThirdPartyStoragePartitioning3 試用計畫頁面,或在 Chrome 來源試用計畫頁面中,從有效試用計畫清單前往該試用計畫。
- 按一下「註冊」。
- 提供表單要求的資訊。
- 勾選方塊,接受「揭露事項和聲明」條件。
- 提交要求。我們需要額外資訊才能處理您的申請。
提交申請後,您會收到電子郵件通知,內含自動產生的支援單,要求您提供先前核發的淘汰版試用權代碼副本。
我們會審查您的要求,並在審查完成或需要其他資訊時通知您,以及您的要求是否已核准或拒絕。您也會收到結果的狀態和原因。獲得核准後,您可以視需要提供試用權杖。如果遭到拒絕,請按照要求支援單中的指示操作。
部署更新的淘汰試用權杖
權杖必須使用 HTML <meta>
標記分發 (第三方權杖必須使用您需要取消分割的第三方來源 JavaScript 進行插入)。不支援 HTTP 標頭方法。必須部署新的權杖,否則無法註冊並獲得續約權杖。如要進一步瞭解淘汰試用金鑰,請參閱原始的儲存空間分區淘汰試用金鑰網誌文章。
將非 Cookie 擴充功能加入 SAA
您可以進一步瞭解 Storage Access API,並查看示範。自 Chrome 119 起,您可以使用這個 API 存取未分割的 Cookie,而 Chrome 125 則新增了對非 Cookie 儲存空間的未分割存取權。
提供意見
如有任何意見或問題,請提交至 Partitioned Storage deprecation trial GitHub 存放區。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-06 (世界標準時間)。
[null,null,["上次更新時間:2025-01-06 (世界標準時間)。"],[[["Chrome now partitions storage, service workers, and communication APIs in third-party contexts, starting from version 115."],["A deprecation trial, initially from Chrome 113 to 126 and renewed from 127 to 132 as DisableThirdPartyStoragePartitioning2, allowed sites to temporarily unpartition these elements."],["An additional renewal, DisableThirdPartyStoragePartitioning3, is available for an additional six Chrome milestones (133 to 138), but only for sites previously enrolled in DisableThirdPartyStoragePartitioning2 and is blocked if the user blocks third party cookies."],["The Storage Access API now supports unpartitioned access to both cookie and non-cookie storage, introduced in Chrome 119 and 125 respectively."],["Sites can apply for the DisableThirdPartyStoragePartitioning3 deprecation trial renewal through the Chrome origin trials page, where they will be required to submit a previously issued deprecation token for review and approval."]]],["Chrome has partitioned third-party storage, service workers, and communication APIs since version 115. A deprecation trial, `DisableThirdPartyStoragePartitioning2`, allowed temporary unpartitioning from Chrome 113-132. A renewed trial, `DisableThirdPartyStoragePartitioning3`, is now available for versions 133-138 but requires a review and approval process. Sites must register, provide their previous trial token, and deploy the new token via an HTML `\u003cmeta\u003e` tag. Chrome 125 added non-cookie storage support in the Storage Access API.\n"]]