Resource interpreted as Script but transferred with MIME type text/plain - for local file

前端 未结 3 1741
梦毁少年i
梦毁少年i 2020-11-30 18:42

I\'m getting a \"Resource interpreted as Script but transferred with MIME type text/plain\" warning in Google Chrome when including a local script file.

I know the p

3条回答
  •  渐次进展
    2020-11-30 19:33

    The accepted answer is a great one! However, just to post an answer for those who encounter problem like me, who use a department/college computer sometimes, where I do not have the permission to change any key value in regedit.

    Change

    to

    Although the error message still exist, the page loaded correctly.

提交回复
热议问题