[英]Why can't I display this page inside my own page?
这是我要在我自己的页面中显示的页面: http : //matchhistory.euw.leagueoflegends.com/en/#match-details/EUW1/2468687321
我尝试了不同的方法来实现它,但是它们导致了一块空白的画布。
方法1(不成功):
<div>
<object type="text/html" data="http://matchhistory.euw.leagueoflegends.com/en/#match-details/EUW1/2468687321" width="800px" height="600px" style="overflow:auto;border:5px ridge blue">
</object></div>
方法2(失败):
<div id="help"><iframe src="http://matchhistory.euw.leagueoflegends.com/en/#match-details/EUW1/2468687321" height="500px" width="600px"></iframe></div>
我是各种语言的初学者,我可能缺少一些基础知识。 谢谢你的帮助
该页面的标题设置不允许您嵌入它。
“拒绝显示在框架中,因为它将'X-Frame-Options'设置为'SAMEORIGIN'。”
我认为您可以通过使用HTTP请求来解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.