Make sure that all instances of chrome are closed before you run the command. Stability and security will suffer. A simple guide on how to start a google chrome or chromium web browser with cors disabled for development and testing
If the request is not allowed (due to missing or insufficient cors headers), the browser blocks the response, preventing the web page from accessing the requested resources. For chrome 22+ you will be presented with an error message that says Bypass cors restrictions and access any website.
There isn’t a single, universally recommended “disable cors” switch built into chrome Instead, you’ll be leveraging workarounds and development tools designed for testing and local development. Here's how to disable the cors checks entirely on google chrome on a windows operating system to bypass that Use at your own risk, as this does disable some browser security and isn't recommended for daily browsing
Create or copy a google chrome shortcut on the desktop Right click on the shortcut and go to properties. Instead of disabling web security entirely, you can use a chrome extension like allow cors This is a slightly safer alternative than the first method.
That should disable the same origin policy and allow you to access local files