fix iframe

This commit is contained in:
_Bastler 2022-02-28 14:52:44 +01:00
parent c2c01eb314
commit 6faa31427b

View File

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