忽略跨域参数
- 打开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