iframe在我的本地系统中工作,但在文件服务器中不工作



此代码在我的Chrome中起作用,但在Fileserver中不起作用。

 <body>
 <div> 
 <iframe src="http://www.yunoworldtech.com/" height="710px" width="99%">
  </iframe>
  </div></body>

以上是我在iframe(代码(中包含的链接。我在本地计算机中获得了成功实现,但是在文件服务器上,我无法加载它。

文件服务器链接 帮助。

未能在" domwindow"上执行" postmessage':目标原点 提供('https://hootsuite.com'(与收件人不符 Window的Origin('https://dinuduke.000webhostapp.com'(。

您有CORS问题。您默认情况下请从其他域和其他域中请求资源,而不是授权此请求。更多信息在这里

最新更新