Disable Chrome strict MIME type checking

前端 未结 6 1806
青春惊慌失措
青春惊慌失措 2020-11-28 08:10

Is there any way to disable strict MIME type checking in Chrome.

Actually I\'m making a JSONP request on cross domain. Its working fine on Firefox but,

6条回答
  •  一整个雨季
    2020-11-28 08:19

    also had same problem once,

    if you are unable to solve the problem you can run the following command on command line
    chrome.exe --user-data-dir="C://Chrome dev session" --disable-web-security

    Note: you have to navigate to the installation path of your chrome.
    For example:cd C:\Program Files\Google\Chrome\Application

    A developer session chrome browser will be opened, you can now launch your app on the new chrome browse.
    I hope this should be helpful

提交回复
热议问题