bravebrave-browser

Disable CORS in Brave Browser


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.


Solution

  • 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