Mac Chrome添加启动参数
作者: 
南国青天 | 来源:发表于
2016-12-02 11:47 被阅读1973次
忽略跨域参数
- 打开Terminal 
cd "/Applications/Google Chrome.app/Contents/MacOS/"
 
- 重命名的启动脚本 
sudo mv "Google Chrome" Google.real
 
- 将下面的代码复制到文本, 保存为
Google Chrome.
并且复制到/Applications/Google Chrome.app/Contents/MacOS/
 
- 給你新的脚本添加执行权限: 
sudo chmod u+x "Google Chrome"
 
#!/bin/bash
cd "/Applications/Google Chrome.app/Contents/MacOS"
"/Applications/Google Chrome.app/Contents/MacOS/Google.real" --args --disable-web-security --user-data-dir
           本文标题:Mac Chrome添加启动参数
本文链接:https://www.haomeiwen.com/subject/saofmttx.html
网友评论