chrome --disable cors for localhost mac code example
Example 1: open chrome without web security mac
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security
Example 2: run chrome without cors
$ open -a Google\ Chrome --args --disable-web-security --user-data-dir