我想在我上传的此文件的“查看完整菜单”链接中加入弹出框:http://fmsc.org/file/index.html
但是,当我将其上传到我们的CMS时,显然存在冲突/覆盖并且不起作用:https://fmsc.org/15-mn-gala-pre-gala-content-test
非常感谢任何帮助。
答案 0 :(得分:0)
Chrome网络检查员报告以下错误
Mixed Content: The page at 'https://fmsc.org/15-mn-gala-pre-gala-content-test' was loaded over HTTPS, but requested an insecure script 'http://www.fmsc.org/file/classie.js'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://fmsc.org/15-mn-gala-pre-gala-content-test' was loaded over HTTPS, but requested an insecure script 'http://www.fmsc.org/file/modalEffects.js'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://fmsc.org/15-mn-gala-pre-gala-content-test' was loaded over HTTPS, but requested an insecure script 'http://www.fmsc.org/file/modernizr.custom.js'. This request has been blocked; the content must be served over HTTPS.
意味着您尝试在 https 上投放的网页上加载 http 资源,解决此问题的一种方法是使用相对路径使用/file/modernizr.custom.js
代替http://www.fmsc.org/file/modernizr.custom.js
(例如)