【发布时间】:2014-12-29 05:15:54
【问题描述】:
我的扩展在我的网站 (http) 上发送 GET 请求。 但是 Chrome 最近开始阻止这些请求,并显示错误:
The page at 'https://site' was loaded over HTTPS, but ran insecure content from 'http://MYsite/zz.php?id=116174676': this content should also be loaded over HTTPS.
VM93 content_script.js:16(anonymous function)
我该如何解决这个问题?
【问题讨论】:
-
只需将请求发送到您网站的 HTTPS 版本。如果你没有一个,你必须得到一个。
标签: javascript google-chrome google-chrome-extension https