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?
Asked
Active
Viewed 4,411 times
3

STheFox
- 1,478
- 4
- 18
- 24
-
Small comment, but I think you are asking how to *enable* CORS (cross origin resource sharing). Disabling it would actually increase the security – information_interchange Dec 13 '18 at 21:29
1 Answers
1
@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

Make Tips
- 180
- 2
- 6