在iframe中允许混合内容 [英] Allow mixed content inside iframe

查看:605
本文介绍了在iframe中允许混合内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

https 上运行的父网站。在内部父网站窗口中,使用src https 的iframe。 iframe包含 http 的链接。

The parent site running on https. Inside parent site window a iframe with src https. The iframe has links with http.

其https(主要父网站)=> https(iframe)=> http(iframe中的链接)方案。

Its https(main parent site) => https(iframe) => http(links inside iframe) scenario.

在浏览器控制台中已阻止:混合内容已登录。

In browser console blocked:mixed content getting logged.

< a href =https://i.stack.imgur.com/vuk4f.png =nofollow noreferrer>

请帮助摆脱此错误。

推荐答案

这是一个浏览器设置,但您没有指明您使用的是哪个浏览器。以下是来自Firefox的有关如何禁用的信息 - 内容阻止。请注意,禁用此选项会增加您的安全风险。这是一个很好的文章,描述了这个概念,所以你有一个更好地了解其发生的原因和风险。

this is a browser setting and you did not indicate which browser you are using. Here is info from Firefox on how to disable mixed-content blocking. Note, disabling this increases your security risks. Here is a good article describing the concept so you have a better understanding of why its happening and what the risks are.

这篇关于在iframe中允许混合内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆