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

After the installation of the VS2012, chrome interpreted as Script but transferred Resource with MIME type text/plain when the page is loaded warning.

This is because the VS2012 change the windows registry at installation time, the type resolution JavaScript label was changed to text/plain, resulting in JavaScript are converted into text/plain type, but this does not affect the operation of JavaScript.

The solution is as follows:

1.WIN+R open the run box, type "regedit" into the registry.


2 in the "/HKEY_CLASSES_ROOT/.js" directory to find the Content Type key, it changed to "text/javascript" value. Or, can last two button to delete, because before installing vs2012, this two key does not exist, when vs2012 is the same.



Refresh the page will not be submitted after the above warning.

Posted by Tyrone at December 08, 2013 - 12:39 PM