拒绝执行脚本
拒绝执行'/includes/codemirror/mode/java/java.js'中的脚本,因为它的MIME类型('text / html')不可执行,并且启用严格的MIME类型检查。
<script type="text/javascript" src='includes/codemirror/codemirror.js'></script>
<link rel="stylesheet" href="includes/codemirror/codemirror.css">
<script type="application/javascript" src='includes/codemirror/mode/javascript/javascript.js'></script>
<script type="application/javascript" src='includes/codemirror/mode/php/php.js'></script>
<script type="application/javascript" src='includes/codemirror/mode/clike/clike.js'></script>
<script type="application/javascript" src='includes/codemirror/mode/perl/perl.js'></script>
<script type="application/javascript" src='includes/codemirror/mode/python/python.js'></script>
<script type="application/javascript" src='includes/codemirror/mode/java/java.js'></script>
<script type="application/javascript" src='includes/codemirror/mode/vb/vb.js'></script>
<script type="application/javascript" src='includes/codemirror/mode/sql/sql.js'></script>
我该如何解决这个错误? 我无法更改服务器设置,无法访问..
链接地址: http://www.djcxy.com/p/47601.html上一篇: Refused to execute script
下一篇: Chrome refuses to execute an AJAX script due to wrong MIME type