Skip to content

Instantly share code, notes, and snippets.

@selahssea-zz
Last active November 20, 2018 13:17
Show Gist options
  • Select an option

  • Save selahssea-zz/ddc2c811685b5fca4d32 to your computer and use it in GitHub Desktop.

Select an option

Save selahssea-zz/ddc2c811685b5fca4d32 to your computer and use it in GitHub Desktop.
Google Chrome disable web security (CORS) on Mac OS X
#!/bin/bash
open /Applications/Google\ Chrome\ Canary.app/ --args --disable-web-security
@ib-steffen

Copy link
Copy Markdown

use:

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

@michaelgoitein

michaelgoitein commented Jan 24, 2018

Copy link
Copy Markdown

This worked for me on Mac OS 10.13.2 (17C205) with Chrome Version 63.0.3239.132 (Official Build) (64-bit):
open /Applications/Google\ Chrome.app --args --disable-web-security --user-data-dir

@gilles-leblanc

Copy link
Copy Markdown

Also make sure that Chrome isn't already running in the background when using this command or it won't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment