diff --git a/src/UI/UIWindow.js b/src/UI/UIWindow.js index 88772c59..3463428c 100644 --- a/src/UI/UIWindow.js +++ b/src/UI/UIWindow.js @@ -307,7 +307,9 @@ async function UIWindow(options) { style="${!options.has_head ? ' height: 100%;' : ''}">`; // iframe, for apps if(options.iframe_url || options.iframe_srcdoc){ - // iframe + // `; + 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">`; } // custom body else if(options.body_content !== undefined){