之間引用我有一個JavaScript代碼段中FB靜態HTML,大多數的主流瀏覽器的運行,除了Safari瀏覽器的腳本漂亮的魅力加載,測試後,通過移除https
到http
在javascript參考鏈接,腳本是在Safari的作品,但在ChromeHTTP/HTTPS Safari和Chrome
失敗,在Safari控制檯日誌這在IE,FF和Chrome,但Safari瀏覽器失敗了,我看到
Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be 「www.sitename.com」 which could put your confidential information at risk.
<link rel="stylesheet" href="https://www.sitename.com/css/style.css" type="text/css">
<script src="https://www.sitename.com/js/jquery.js"></script>
<script src="https://www.sitename.com/js/jcarousel.js"></script>
<script src="https://www.sitename.com/js/init.js"></script>
這個工作在Safari,IE和FF,但Chrome的失敗,在Chrome控制檯日誌,我看到
[blocked] The page at https://raw.statichtmlapp.com/tab/2/visitor ran insecure content from http://www.sitename.com/js/jquery.js.
<link rel="stylesheet" href="http://www.sitename.com/css/style.css" type="text/css">
<script src="http://www.sitename.com/js/jquery.js"></script>
<script src="http://www.sitename.com/js/jcarousel.js"></script>
<script src="http://www.sitename.com/js/init.js"></script>
我怎樣才能解決這個問題?謝謝。