[英]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.