Chrome 49 plus --disable-web-security

后端 未结 7 1627
星月不相逢
星月不相逢 2020-12-29 07:39

Today (Mar, 15, 2016) chrome stopped working with the --disable-web-security flag. I have tried the following options described in various posts: 1) Kill all instances of Ch

7条回答
  •  囚心锁ツ
    2020-12-29 08:30

    This doesn't work anymore, since Chrome 80. You have to specify a non-default --user-data-dir to make it work now.

    Original answer:

    You can use your existing data dir, if you don't want to create a new one.

    So on Linux the command to start unsafe Chrome will be something like this:

    google-chrome --user-data-dir=/home//.config/google-chrome --disable-web-security
    

    But don't use this Chrome instance for anything except development or debugging, since it's open for a vast amount of web attacks.

提交回复
热议问题