gpt4 book ai didi

google-chrome - Google Chrome 不允许 IFRAME 加载 HTML 文件

转载 作者:行者123 更新时间:2023-12-02 07:49:27 25 4
gpt4 key购买 nike

我的这个 iframe 在 FF 上运行良好,但在 Google Chrome 上似乎无法加载。

有人可以告诉我为什么会发生这种情况吗?

我的iframe:

<iframe src="http://tripsketch.com/page?s=TheCavendish#!Id=1024&Name=London&Type=City&view=Attraction" height="700" width="990" frameborder="0" scrolling="no">
</iframe>

最佳答案

我测试了它,它在我的 Chrome 中运行正常。我的猜测是,您已将其设置为通过 https 访问包含 iframe 的页面。如果页面是 https,则无法在该页面上加载非 https 的 iframe。它将导致“混合内容错误”,并且出于安全目的,它将不会加载。

它在 FF 中有效,因为 FF 对于此安全限制更为宽松,而 Chrome 对混合内容错误恰好更为严格。

关于google-chrome - Google Chrome 不允许 IFRAME 加载 HTML 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18223028/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com