STheFox
STheFox

Reputation: 1498

Permanently enable CORS in Chrome on mac

Is there a way CORS can be enabled in chrome permanently, so I won't have to open the terminal and type the command open -a Google\ Chrome --args --disable-web-security all the time?

Upvotes: 3

Views: 4758

Answers (1)

Make Tips
Make Tips

Reputation: 300

@palaniraja helped to solve this in Opera on Mac (https://stackoverflow.com/a/43571952/7662526) with next command:

open -a Opera --args --disable-web-security --user-data-dir=~/emptydir 

So please try to add --user-data-dir=~/emptydir to your command

Upvotes: 1

Related Questions