HTML Iframe空白与某些网站 [英] HTML Iframe blank with certain site
本文介绍了HTML Iframe空白与某些网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试制作这样的iframe,< iframe src =http://www.fonefinder.net>< / iframe>
出现只是一个空白的空间。如果我用另一个替换链接,它可以正常工作。我真的不知道为什么发生这种情况。
I am trying to make an iframe like this, <iframe src="http://www.fonefinder.net"></iframe>
What comes up is just a blank white space. If I replace the link with another one, it works fine. I honestly don't know why this is happening.
推荐答案
如果您检查控制台,您将看到一个错误
if you check the console you will see an error
拒绝显示文档,因为X-Frame-Options禁止显示。
作者不希望你构架他/她的网站,你可以阅读更多关于它的内容。
The author doesn't want you to frame his/her site, you can read more about it
这篇关于HTML Iframe空白与某些网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文