Mac Open Chrome Without Cors [new] Link

Mac Open Chrome Without Cors [new] Link

"/tmp/chrome_dev_test" --disable-web-security Use code with caution. Copied to clipboard DEV Community +1 Command Breakdown open -n : Opens a new instance of the application even if one is already running. -a /Applications/Google\ Chrome.app : Specifies the application to open. --args : Tells the system that the following flags should be passed directly to Chrome. --disable-web-security : The primary flag that turns off the

: This is the primary flag that turns off the Same-Origin Policy (CORS). mac open chrome without cors

To open Google Chrome on macOS without CORS (Cross-Origin Resource Sharing) restrictions, use the following command in : --args : Tells the system that the following

Open your Terminal (found in /Applications/Utilities/ ) and paste the following command: mac open chrome without cors

To make this easier to reuse, you can save the command as an in your ~/.zshrc (or ~/.bash_profile ):