From fb13c9cf228711844fef58d698beba07d597b46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Fri, 27 May 2022 17:32:45 +0200 Subject: [PATCH] Allow target _blank links inside iframe (#1203) --- assets/js/hooks/js_view/iframe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/hooks/js_view/iframe.js b/assets/js/hooks/js_view/iframe.js index 57bd7234c..28302f589 100644 --- a/assets/js/hooks/js_view/iframe.js +++ b/assets/js/hooks/js_view/iframe.js @@ -33,7 +33,7 @@ export function initializeIframeSource(iframe, iframePort, iframeUrl) { return verifyIframeSource(url).then(() => { iframe.sandbox = - "allow-scripts allow-same-origin allow-downloads allow-modals"; + "allow-scripts allow-same-origin allow-downloads allow-modals allow-popups"; iframe.allow = "accelerometer; ambient-light-sensor; camera; display-capture; encrypted-media; geolocation; gyroscope; microphone; midi; usb; xr-spatial-tracking"; iframe.src = url;