diff --git a/src/navigators/IFrameWindow.ts b/src/navigators/IFrameWindow.ts index d8720b27..1a6b2d34 100644 --- a/src/navigators/IFrameWindow.ts +++ b/src/navigators/IFrameWindow.ts @@ -43,6 +43,12 @@ export class IFrameWindow extends AbstractChildWindow { iframe.width = "0"; iframe.height = "0"; + // allow access to local storage + iframe.setAttribute( + "sandbox", + "allow-storage-access-by-user-activation allow-scripts allow-same-origin", + ); + window.document.body.appendChild(iframe); return iframe; }