忽略跨域參數(shù)
- 打開Terminal
cd "/Applications/Google Chrome.app/Contents/MacOS/"
- 重命名的啟動腳本
sudo mv "Google Chrome" Google.real
- 將下面的代碼復制到文本, 保存為
Google Chrome
.
并且復制到/Applications/Google Chrome.app/Contents/MacOS/
- 給你新的腳本添加執(zhí)行權限:
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