Some background on what I have installed:
- Windows 7
- Visual Studio 2008/2012
- Google Chrome and Firefox
- Sublime Text 2
- …HP Crapware…
OK done. Open up Chrome, and run the file. Nothing happens, so I open up the console for a look, and I see the message: Resource interpreted as Script but transferred with MIME type text/plain.
Resource interpreted as Script but transferred with MIME type text/plain
Uhmmm….??? Well at least Chrome gives some feedback, Firefox didn’t output anything to the console, and the page just didn’t work. After some googling, I came across a few people who have encountered this issue:
Apparently, when you install Visual Studio 2012 it decides to add a key in the registry defining the content type. What does it define it as?
The solution is simple, but requires a change in the registry, so please don’t message me if you don’t know what you are doing, and break your registry.
- Run -> regedit
- Go to HKEY_CLASSES_ROOT\.js
- To fix, there are two options
- You can remove the entry ‘Content Type’ altogether, (I check my old computer, and the entry doesn’t exist).
That’s it, hope you don’t flip your table in rage!