cors policy disable chrome code example

Example 1: chrome.exe --disable-web-security

chrome.exe --user-data-dir="C://Chrome dev session" --disable-web-security

Example 2: run chrome without cors

$ open -a Google\ Chrome --args --disable-web-security --user-data-dir

Example 3: disable cors chrome

open -na Google\ Chrome --args --user-data-dir=/tmp/temporary-chrome-profile-dir --disable-web-security

Example 4: disable cors in new chrome

chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security

Tags:

Misc Example