requestStorageAccess()
- Related Website Sets demorequestStorageAccess()
in a cross-site, same-set iframe
.requestStorageAccessFor()
for embedded cross-site, same-set resources.๐งโ๐ป Code for the iframe.
This demo uses two sites: related-website-sets.glitch.me
and rws-member-1.glitch.me
, which are both part of the same Related Website Set. related-website.glitch.me
sets a cookie named crossSite
to that will be allowed in the cross-site, same-set contexts via the Storage Access API.