Momo707577045 / m3u8-downloader

m3u8 视频在线提取工具
5.97k stars 1.15k forks source link

部分js引用http协议导致在https域名下无法加载的问题 #37

Closed organics2016 closed 3 years ago

organics2016 commented 3 years ago

BUG 复现过程 点击 “当无法下载,资源发生跨域限制时,在视频源页面打开控制台,注入代码解决,点击本按钮复制代码” 复制代码后,将代码复制到https源的目标页面,加载结束后 控制台输出

Mixed Content: The page at 'https://xxxxxx' was loaded over HTTPS, but requested an insecure script 'http://blog.luckly-mjw.cn/tool-show/m3u8-downloader/mux-mp4.js'. This request has been blocked; the content must be served over HTTPS.

Mixed Content: The page at 'https://xxxxx' was loaded over HTTPS, but requested an insecure script 'http://blog.luckly-mjw.cn/tool-show/m3u8-downloader/aes-decryptor.js'. This request has been blocked; the content must be served over HTTPS.

测试发现这两个js确实加载失败,将这两个js改为https源后可正常加载

这个repo非常棒,感谢分享 :)

Momo707577045 commented 3 years ago

感谢反馈,已尝试修复,请验收