558/5000
当我尝试将本地JavaScript文件的链接引用更改为GitHub原始版本时,我的测试文件停止工作。 错误是:
由于其MIME类型(文本/纯文本)不可执行,因此拒绝执行脚本,并且启用严格的MIME类型检查。
有没有办法来禁用这种行为,或者有一个服务,允许链接到GitHub原始文件?
工作代码:
<script src =“bootstrap-wysiwyg.js”> </ script>
非工作代码:
<script src =“https://raw.github.com/mindmup/bootstrap-wysiwyg/master/bootstrap-wysiwyg.js”> </ script>
相似问题