Chrome浏览器默认是阻止混合内容。我如何调整我的设置/配置,以允许混合内容,而不需要每次在UI上进行任何调整?

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

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. Another option is to add the --allow-running-insecure-content flag to your command line. I did this like so: "C:\Program Files\Google\Chrome\Application\chrome.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有什么选择呢?


当前回答

在Windows中打开运行窗口(Win + R):

C:\Program Files (x86)\Google\Chrome\Application\chrome.exe  --allow-running-insecure-content

在OS-X终端。App运行如下命令⌘+空格:

open /Applications/Google\ Chrome.app --args --allow-running-insecure-content

注意:您似乎可以添加参数——allow-running-insecure-content以绕过此开发。但这不是一个推荐的解决方案。

其他回答

在Windows中打开运行窗口(Win + R):

C:\Program Files (x86)\Google\Chrome\Application\chrome.exe  --allow-running-insecure-content

在OS-X终端。App运行如下命令⌘+空格:

open /Applications/Google\ Chrome.app --args --allow-running-insecure-content

注意:您似乎可以添加参数——allow-running-insecure-content以绕过此开发。但这不是一个推荐的解决方案。

在OSX上,从命令行执行以下工作:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-running-insecure-content

在OSX上使用当前的Chrome版本(2/20/2020,79.0.3945.130),您可以:

点击地址栏左侧的“i”信息图标。

单击站点设置

向下滚动到不安全的内容

将其从阻塞(默认)更改为允许

重新加载页面并再次尝试操作。

运行下面的命令帮助我运行HTTPS web页面,iframe有ws(不安全)连接

Chrome.exe——user-data-dir=c:\temp-chrome——disable-web-security——allow-running-insecure-content

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

单击URL旁边的“不安全”警告

在弹出框中单击“站点设置”

列表底部附近是不安全内容,将其更改为允许

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


较旧的Chrome版本:

Timmmy_42在https://productforums.google.com/forum/#上回答这个问题!主题/铬/ OrwppKWbKnc

在地址栏的右端应该有一个“屏蔽”图标,你可以 点击它来运行不安全的内容。

这在Chromium-dev Version 36.0.1933.0(262849)中是有效的。