diff --git a/src/UI/UIWindow.js b/src/UI/UIWindow.js index 087755c0..26863d52 100644 --- a/src/UI/UIWindow.js +++ b/src/UI/UIWindow.js @@ -296,7 +296,7 @@ async function UIWindow(options) { ${options.iframe_url ? 'src="'+ html_encode(options.iframe_url)+'"' : ''} ${options.iframe_srcdoc ? 'srcdoc="'+ html_encode(options.iframe_srcdoc) +'"' : ''} allow = "accelerometer; camera; encrypted-media; gamepad; display-capture; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write; web-share; fullscreen;" - sandbox="allow-forms allow-modals allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation allow-downloads allow-presentation">`; + sandbox="allow-forms allow-modals allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation allow-downloads allow-presentation allow-storage-access-by-user-activation">`; } // custom body else if(options.body_content !== undefined){ @@ -3265,4 +3265,4 @@ document.addEventListener('scroll', function (event) { } }, true); -export default UIWindow; \ No newline at end of file +export default UIWindow;