Skip to content

Comments

fix: enable Storage Access API in preview iframe#35

Merged
markdumay merged 2 commits intomainfrom
develop
Feb 24, 2026
Merged

fix: enable Storage Access API in preview iframe#35
markdumay merged 2 commits intomainfrom
develop

Conversation

@markdumay
Copy link
Contributor

Adds allow="storage-access" and allow-storage-access-by-user-activation to the preview iframe so that embedded sites can persist cookie consent via the Storage Access API. Without these attributes, browsers reject requestStorageAccess() calls inside sandboxed cross-origin iframes, causing consent banners to reappear on every load.

markdumay and others added 2 commits February 24, 2026 15:49
Adds allow="storage-access" and allow-storage-access-by-user-activation
to the preview iframe so that embedded sites can persist cookie consent
via the Storage Access API. Without these attributes, browsers reject
requestStorageAccess() calls inside sandboxed cross-origin iframes,
causing consent banners to reappear on every load.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@markdumay markdumay enabled auto-merge February 24, 2026 15:12
@markdumay markdumay merged commit 2b54358 into main Feb 24, 2026
8 checks passed
@markdumay
Copy link
Contributor Author

🎉 This PR is included in version 1.4.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant