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);