Disable CORS in Brave Browser

17.9k views Asked by At

Recently I've switched from Safari to Brave (Safari has a horrible bug - when ever you open dev tools, you get logged out from every site), and I'm trying to run it in CORS disabled mode.

I've tried modifying the command I would usually use for Chrome, but every attempt was unsuccessful:

open /Applications/Google\ Chrome.app --args --user-data-dir="/var/tmp/Chrome dev session" --disable-web-security

My local Angular app is connecting to couple of remote servers and all requests get blocked unless I disable CORS - and no I can't make any changes on the servers.

2

There are 2 answers

0
Bojan On BEST ANSWER

here is what work for me, I use OSX this way you don't need to close other opened brave apps.

open -n -a /Applications/Brave\ Browser.app/Contents/MacOS/Brave\ Browser --args --user-data-dir="/tmp/brave_dev_sess_1" --disable-web-security
0
Joshua S On

Because Brave is a version of the Chromium Web Browser, the same methods that work for Chrome will work for Brave. See the post: Disable same origin policy in Chrome

The answer that specifically worked for me was Windows + r

brave.exe --user-data-dir="C://Chrome dev session" --disable-web-security "enter url here"