Feature
CSP Allow-list experiment: a new way to fix iframe errors
Amy Reed · 13 May 2026
CSP Allow-list Experiment loads apps in CSP-protected sandboxed iframes. Custom fetch intercepts CSP errors, notifies parent window to prompt domain allow-listing and page refresh.
Simon Willison published an experiment for CSP allow-lists in sandboxed iframes. A custom fetch intercepts CSP errors and relays them to the parent window. The parent prompts users to approve domains and refreshes the page.