关于 Resource interpreted as Script but transferred with MIME type text/plain

添加一行

<meta http-equiv="content-script-type" content="text/javascript">

 

将注册表中 HKEY_CLASSES_ROOT\.js 的 Content Type 改为 text/javascript

 

源自:http://stackoverflow.com/questions/12003107/resource-interpreted-as-script-but-transferred-with-mime-type-text-plain-for-l

你可能感兴趣的:(JavaScript,windows)