87,990
社区成员
发帖
与我相关
我的任务
分享<div id="container">
Hello World!!!
</div>
<div>
<iframe style="border: none;height: 100%;width:100%;position: fixed;top: 50px; background:white" src="http://anothersite.com"></iframe>
</div><add name="Content-Security-Policy" value="script-src 'self' '; frame-ancestors 'self' www.mytest.com;" />var test = '<div class="mystyle"><span>mythings</span></div> ......';console.log("iframeData",document.querySelector('iframe').contentDocument.domain);
console.log("hostName", window.location.hostname);<add name="Access-Control-Allow-Origin" value="*" />