Disable-web-security in Chrome 48+

前端 未结 13 2528
遇见更好的自我
遇见更好的自我 2020-11-27 10:33

I have a problem with the --disable-web-security flag. It is not working in Chrome 48 and Chrome 49 beta on Windows.

I\'ve tried killing all of the inst

13条回答
  •  猫巷女王i
    2020-11-27 10:57

    The chosen answer is good, but for those who are still struggling with what they are talking about(your first time dealing with this issue), the following worked for me.

    I created a new shortcut to Chrome on my desktop, right clicked it, and set the "Target" field to the following,

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="c:/chromedev"
    

    The directory can be anything you want, I decided to make an empty folder called chrome dev in my C: directory. It has nothing to do where chrome is installed on your computer. It's just a fluff type thing.

    This link also has clear directions for other OSes. How to disable web securityin Chrome

提交回复
热议问题