我有 example.com 域的以下 iframe...该域没有 iframe block ,但也没有 iframe 出现。有人有主意吗?此代码之前可以运行:
<!DOCTYPE html>
<html>
<body>
<iframe src="//example.com” height="200" width="300"></iframe>
</body>
</html>
抱歉,这是一个简单的报价问题,已修复:
<!DOCTYPE html>
<html>
<body>
<iframe src="//example.com" height="200" width="300"></iframe>
</body>
</html>
我认为这可能与//example.com 有关,或者他们使用 stackoverflow 和 google 等 iframe block 进行了更新 我的想法是这样的:
<!DOCTYPE html>
<html>
<body>
<iframe src="//stackoverflow.com" height="200" width="300"></iframe>
<iframe src="//google.com" height="200" width="300"></iframe>
</body>
</html>
最佳答案
<!—-This is a simple " issue after example.com—->
<!DOCTYPE html>
<html>
<body>
<iframe src="//example.com" height="200" width="300"></iframe>
</body>
</html>
关于javascript - iframe 不显示任何内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46776453/