关于 Resource interpreted as Script but transferred with MIME type text/plain问题的处理

来源:互联网 发布:信仰师院网络教学 编辑:程序博客网 时间:2024/05/07 22:35

第一步:打开注册表  win8 快捷键(win+R)

  输入 regedit 回车

  在 HKEY_CLASSES_ROOT中找到 .js 修改 Content Type  为 javascript

第二步:添加一行 <meta http-equiv="Content-script-Type" content="text/html; charset=utf-8">

0 0
原创粉丝点击