美文网首页
Mac chrome跨域启动参数设置

Mac chrome跨域启动参数设置

作者: WhoAmI_Bean | 来源:发表于2020-01-30 11:47 被阅读0次

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账号数据未同步状态,谨慎操作,否则可能造成保存的用户名密码丢失

相关文章

网友评论

      本文标题:Mac chrome跨域启动参数设置

      本文链接:https://www.haomeiwen.com/subject/uzkithtx.html