[英]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.我知道如何使用以下选项通过命令行以不安全模式启动 chrome:--disable-web-security --disable-gpu。 How can I do it in MAC OS?
我怎样才能在 MAC OS 中做到这一点? So i am going inside the location where chrome is installed and running this command
所以我要进入安装 chrome 的位置并运行此命令
chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
But it is throwing error zsh: command not found: chrome.exe
但它抛出错误
zsh: command not found: chrome.exe
If you are on a Mac, this is the correct command (Mac does not open .exe files):如果您使用的是 Mac,这是正确的命令(Mac 不会打开 .exe 文件):
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.
第一个禁用网络安全,第二个指定一个文件夹,Chrome 将在其中创建临时配置文件并保留必要的数据。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.