【问题标题】:iFrame using http source display on https website - is it possible?iFrame 在 https 网站上使用 http 源显示 - 可能吗?
【发布时间】:2017-06-01 15:24:01
【问题描述】:

我正在尝试将以下 iframe 注入我的 https 网站: Screenshot of code

是否可以在 https 网站上使用 http iframe?

这是我当前注入时收到的错误:

https://trk.slvrbck.net/aff_ad?campaign_id=191&aff_id=25171&format=iframe 的网页可能暂时关闭,或者它可能已永久移至新网址。

谢谢!

【问题讨论】:

    标签: iframe


    【解决方案1】:

    您可以在 https 网站中包含您的 http iframe。一旦数据从客户端发送到服务器,https 站点将加密 http iframe。

    让它工作本身就是另一回事: 参考这个让它工作 How to allow http content within an iframe on a https site

    【讨论】:

    • 那行得通。使用该页面上的任何方法,你能告诉我我的代码会是什么样子吗?
    猜你喜欢
    • 1970-01-01
    • 2014-01-26
    • 1970-01-01
    • 1970-01-01
    • 2012-07-31
    • 2015-07-18
    • 2015-11-05
    • 2023-03-29
    • 1970-01-01
    相关资源
    最近更新 更多