Home >Web Front-end >HTML Tutorial >Why 'https' cannot load external js''_html/css_WEB-ITnose

Why 'https' cannot load external js''_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:38:501416browse

http://res.wx.qq.com/open/js/jweixin-1.0.0.js

"Why can't https" load external js"", prompting "Mixed Content: The page at 'https://m.phzc.com/product/detail?id=5' was loaded over HTTPS, but requested an insecure script 'http://res.wx.qq.com/open/js/jweixin- 1.0.0.js'. This request has been blocked; the content must be served over HTTPS." Why is this? ? ?


Reply to the discussion (solution)

Because you have loaded external js, it is judged to be unsafe.

It is recommended to copy the remote js directly.

External js can avoid updating. But it will be judged as unsafe by https.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn