DEV Community

Discussion on: What you should know about CORS

Collapse
 
brianjenkins94 profile image
Brian Jenkins

The only way to get around this is to either use Firefox, or install a web server that will send an Access-Control-Allow-Origin: * header.

You can also run Chrome with --disable-web-security:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir=C:\HighwayToTheDangerChrome
Collapse
 
nicolus profile image
Nicolas Bailly

Thanks ! I added that tip to the main article.

Collapse
 
widygui93 profile image
Widy Guilias

Hi, Brian.

I'm wondering is it okay to disable web security?

Collapse
 
brianjenkins94 profile image
Brian Jenkins

Not for general browsing, but for circumventing CORS it's fine.