如何停止 Adsense 在 https 站点上加载混合内容?

How to stop Adsense loading mixed content on https site?

我的 https 站点出现间歇性的混合内容错误。站点 link 是 stakeholdermap.com

我检查了 Chrome 开发工具 > 网络选项卡,我看到下面的不安全网址示例:

Mixed Content: The page at 'https://www.stakeholdermap.com/stakeholder-analysis.html' was loaded over HTTPS, but requested an insecure plugin data 'http://static.vertamedia.com/static/vpaid-ssp-vast.swf?aid=41476&sid=0&cb=146233.42079096.743365'. This content should also be served over HTTPS. ads?client=ca-pub-3370240294319443&format=300x250&output=html&h=250&slotname=8722343817&adk=5159607…

Mixed Content: The page at 'https://www.stakeholdermap.com/stakeholder-analysis.html' was loaded over HTTPS, but requested an insecure plugin data 'http://ads2.vertamedia.com/vast/vpaid-config/?width=300&height=250&aid=4147…takeholdermap.com&v=2.2.90&t=flash&video_duration=&cb=73026784276589750000'. This content should also be served over HTTPS.

但是广告位使用的是最新代码 (//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js)

我很确定这些是由 Adsense 加载的。我的问题是如何阻止它或强制它使用 https?

如果可能,要求用户浏览器获取安全内容: <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" /> 如果广告可通过 https 访问,则它将获取该版本,否则,内容将被阻止并显示另一个内容。将元数据放入页面的 <head> 部分,所有其他元标记所在的位置。

您可以在此处找到更多信息:https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content