Chrome: Disable Web Security

Pretty often when debugging a mobile app in a web browser, we need to disable access control allow origin, OPTIONS checks, and SSL.

Creating a new Chrome shortcut on the desktop with the following flags will allow you to run Chrome without web security.


open -n -a Google\ Chrome --args --disable-web-security --user-data-dir=/Users/[you]/chromedev/


"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="C:/chromedev" --disable-web-security