fix drinks
This commit is contained in:
parent
64613b076e
commit
4913010273
@ -311,6 +311,7 @@ class IframeListener {
|
|||||||
|
|
||||||
// We are putting a sandbox on this script because it will run in the same domain as the main website.
|
// 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-scripts");
|
||||||
|
iframe.sandbox.add("allow-same-origin");
|
||||||
iframe.sandbox.add("allow-top-navigation-by-user-activation");
|
iframe.sandbox.add("allow-top-navigation-by-user-activation");
|
||||||
|
|
||||||
iframe.addEventListener("load", () => {
|
iframe.addEventListener("load", () => {
|
||||||
@ -329,6 +330,7 @@ class IframeListener {
|
|||||||
|
|
||||||
// We are putting a sandbox on this script because it will run in the same domain as the main website.
|
// 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-scripts");
|
||||||
|
iframe.sandbox.add("allow-same-origin");
|
||||||
iframe.sandbox.add("allow-top-navigation-by-user-activation");
|
iframe.sandbox.add("allow-top-navigation-by-user-activation");
|
||||||
|
|
||||||
//iframe.src = "data:text/html;charset=utf-8," + escape(html);
|
//iframe.src = "data:text/html;charset=utf-8," + escape(html);
|
||||||
|
Loading…
Reference in New Issue
Block a user