Run Chrome Without Cors

While disabling CORS is the quickest fix, it isn't always the best solution for professional development. Here are two cleaner alternatives:

google-chrome --user-data-dir="/tmp/ChromeDevTestUserDir" --disable-web-security run chrome without cors

or if you have Google Chrome Beta or another version with a different name: While disabling CORS is the quickest fix, it

google-chrome --disable-web-security --user-data-dir="/tmp/chrome_dev_test" and the browser console turns red:

If you are a web developer, you have almost certainly encountered the dreaded CORS error. You try to fetch data from an API, and the browser console turns red: