Steve
Steve

Reputation: 2588

Resource interpreted as Script but transferred with MIME type text/x-js // Warnings recurrent in Chrome

This warning/error keeps on coming in the Console of Chrome when I run my site.

Resource interpreted as Script but transferred with MIME type text/x-js

I tried adding this to my script tag, but it gives no love!

<script type="text/javascript">

Upvotes: 0

Views: 1438

Answers (1)

mdc32
mdc32

Reputation: 152

  • enter regedit.exe
  • find the .js folder in HKEY_CLASSES_ROOT
  • right click 'content type'
  • modify the value data to 'text/javascript', not 'text/plain'

Upvotes: 1

Related Questions