diff --git a/src/gui/src/UI/UIWindow.js b/src/gui/src/UI/UIWindow.js index f7cb0e83..77d2552e 100644 --- a/src/gui/src/UI/UIWindow.js +++ b/src/gui/src/UI/UIWindow.js @@ -341,7 +341,7 @@ async function UIWindow(options) { style="${!options.has_head ? ' height: 100%;' : ''}">`; // iframe, for apps if(options.iframe_url || options.iframe_srcdoc){ - let allow_str = `camera; encrypted-media; gamepad; display-capture; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write; fullscreen; web-share;`; + let allow_str = `camera; encrypted-media; gamepad; display-capture; geolocation; gyroscope; microphone; midi; clipboard-read; clipboard-write; fullscreen; web-share; file-system-handle; local-storage; downloads;`; if(window.co_isolation_enabled) allow_str += ' cross-origin-isolated;'; // `; + sandbox="allow-forms allow-modals allow-pointer-lock allow-popups allow-popups-to-escape-sandbox ${options.iframe_srcdoc ? '' : 'allow-same-origin'} allow-scripts allow-top-navigation-by-user-activation allow-downloads allow-presentation allow-storage-access-by-user-activation allow-downloads-without-user-activation allow-file-system-write">`; } // custom body else if(options.body_content !== undefined){