Open iframe as new clean document/window

58 Views Asked by At

I am trying to load code from codesandbox into iframe, but it is not going to load.

Probably it is checking if there is parent window opening it from other domain.

Is there any way to hide it and make it think like it was open in new clean window.

I can't use codesandbox embed, because it is introducing another nested frame, which makes impossible for me to postMessage to my code in sandbox.

0

There are 0 best solutions below