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