Disable chrome web security (cors) on MacOs

create a .command file: chrome-cors.command with the following code:

open /Applications/Google\ Chrome.app --args --disable-web-security --user-data-dir="" --disable-features=CrossSiteDocumentBlockingIfIsolating

make sure the chrome application is located in /Applications folder and is called Google Chrome.app
Launch the script from terminal (command line interface): ./chrome-cors.command
in the above example, in order to lunch the script, you have to be located in the same folder where the .command script is located