From 6faa31427b99014db664f3138db886b93059bd56 Mon Sep 17 00:00:00 2001 From: _Bastler <_Bastler@bstly.de> Date: Mon, 28 Feb 2022 14:52:44 +0100 Subject: [PATCH] fix iframe --- front/src/Api/IframeListener.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/front/src/Api/IframeListener.ts b/front/src/Api/IframeListener.ts index 64506804..bf261150 100644 --- a/front/src/Api/IframeListener.ts +++ b/front/src/Api/IframeListener.ts @@ -299,6 +299,7 @@ class IframeListener { // We are putting a sandbox on this script because it will run in the same domain as the main website. iframe.sandbox.add("allow-scripts"); + iframe.sandbox.add("allow-same-origin"); iframe.sandbox.add("allow-top-navigation-by-user-activation"); //iframe.src = "data:text/html;charset=utf-8," + escape(html);