Storage access
Newly available since 2023-12-05
The document.requestStorageAccess()
method allows content in iframes to request storing and reading cookies and other site data, while the document.hasStorageAccess()
method checks if such access is granted.
Learning resources on MDN
Browser support
- Chrome 119 Released on 2023-10-31
- Chrome Android 120 Released on 2023-12-05
- Edge 85 Released on 2020-08-27
- Firefox 65 Released on 2019-01-29
- Firefox for Android 65 Released on 2019-01-29
- Safari 11.1 Released on 2018-04-12
- Safari on iOS 11.3 Released on 2018-03-29
Specifications
- The Storage Access API, from Privacy Community Group (W3C).