1. 打开Terminal cd "/Applications/Google Chrome.app/Contents/MacOS/"
2. 重命名原始chrome应用:sudo mv "Google Chrome" Google.ori
3. vi Google\ Chrome,将下面的代码复制到文本, 保存退出
#!/bin/bash
"/Applications/Google Chrome.app/Contents/MacOS/Google.ori" --args --disable-web-security
4. 脚本添加执行权限: sudo chmod u+x "Google Chrome"
5. 如果当前有Google账号数据未同步状态,谨慎操作,否则可能造成保存的用户名密码丢失
网友评论