是什么决定了不安全的资源是被阻塞还是被加载并显示警告?
来自Chrome 53的截图:

创建者:
(function(){var d=document.getElementsByTagName('IMG');for(var i=0,l=d.length;i<l;i++){d[i].setAttribute('src','http://placekitten.com/'+d[i].width+'/'+d[i].height)};}())发布于 2016-09-28 11:38:49
被阻止的图像是那些img指定了srcset的图像。

当img有srcset时,Chrome和火狐会主动屏蔽混合内容。这里的src是一个http资源,而srcset使用https。
Chromium Issue 402792 - Mixed content:
with empty srcset attribute should be active content
Mozilla Bug 1055750 - (srcset-mixed-content) Block mixed content
https://stackoverflow.com/questions/39707911
复制相似问题