Debug message “Resource interpreted as other but transferred with MIME type application/javascript”

前端 未结 15 2002
旧巷少年郎
旧巷少年郎 2020-11-29 01:50

OK, I understand what the messages means, but I\'m really not sure what\'s causing it. I\'m using Safari and the Web Inspector on Mac OS X, by the way.

I\'v

15条回答
  •  Happy的楠姐
    2020-11-29 02:18

    This warning appears because no default script type is specified. Try adding the following directive to your HTML file:

    You can read more about default scripting specifications here: http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.2.1

提交回复
热议问题