如何让 Chrome 允许混合内容? [英] How to get Chrome to allow mixed content?

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

问题描述

Chrome 浏览器默认阻止混合内容.如何调整我的设置/配置以允许混合内容,而无需每次都对 UI 进行任何调整?

Chrome browser by default is blocking mixed content. How do I adjust my settings/configuration to allow mixed content without making any adjustments on the UI every time?

我找到了两种解决方案,但都不起作用:

I have found two solutions but neither of them work:

  1. 有几篇文章说您可以在安全"部分下进行调整选项中的引擎盖下".这个选项似乎不再存在.没有 Under The Hood 选项卡,也没有这样的下拉菜单据我所知,调整 Chrome 处理混合内容的方式.
  2. 另一种选择是添加 --allow-running-insecure-content 标志到您的命令行.我是这样做的: "C:ProgramFilesGoogleChromeApplicationchrome.exe"--allow-running-insecure-content.然而这并没有什么区别.如果我尝试在双引号内添加标志,则 Windows抱怨说它无效.
  1. Several articles say you can adjust this under the Security section of "Under the Hood" in the Options. This option no longer seems to exist. There is no Under The Hood tab and there is no such dropdown to adjust how Chrome handles mixed content as far as I can tell.
  2. Another option is to add the --allow-running-insecure-content flag to your command line. I did this like so: "C:Program FilesGoogleChromeApplicationchrome.exe" --allow-running-insecure-content. However this made no difference. If I tried adding the flag inside the double quotes, then Windows complains saying it is invalid.

那么对于最新版本的 Chrome,我现在有什么选择?

So what option do I have now with the latest version of Chrome?

推荐答案

Chrome v91 (6/17/2021) 的步骤:

  1. 点击网址旁边的不安全警告

  1. 点击弹出框中的站点设置

  1. 靠近列表底部的是不安全内容,将其更改为允许
  1. Near the bottom of the list is Insecure content, change this to Allow

  1. 关闭设置,返回站点,刷新页面


旧版 Chrome:

timmmy_42 在以下位置回答:https://productforums.google.com/forum/#!topic/chrome/OrwppKWbKnc

timmmy_42 answers this on: https://productforums.google.com/forum/#!topic/chrome/OrwppKWbKnc

在地址栏右端应该有一个盾牌"图标,你可以点击它运行不安全的内容.

In the address bar at the right end should be a 'shield' icon, you can click on that to run insecure content.

这在 Chromium-dev 版本 36.0.1933.0 (262849) 中对我有用.

This worked for me in Chromium-dev Version 36.0.1933.0 (262849).

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

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