简体   繁体   中英

How can I start chrome in insecure mode in mac?

I know how to Start chrome in insecure mode via command line with these options: --disable-web-security --disable-gpu. How can I do it in MAC OS? So i am going inside the location where chrome is installed and running this command

chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security

But it is throwing error zsh: command not found: chrome.exe

If you are on a Mac, this is the correct command (Mac does not open .exe files):

open -a "Google Chrome" --args --disable-web-security --user-data-dir=/tmp/chrome

You need to specify both arguments for the command to work. The first one to disable web security and the second one to specify a folder where Chrome will create the temporary profile and keep the necessary data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM