2014-11-02 226 views
-1

我的擴展在我的網站(http)上發送GET請求。 而Chrome最近開始封鎖這些請求,並顯示錯誤: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) 

我該如何解決這個問題?

+0

只需將請求發送到您的網站的HTTPS版本即可。如果你沒有一個,你必須得到一個。 – EWit 2014-11-02 12:19:37

回答

0

由於錯誤明確指出,您需要通過HTTPS加載您的內容。

0

在您的代碼中嘗試訪問http協議的位置,應該是https