Disable CORS in Brave Browser
Asked Answered
B

2

12

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.

Banks answered 21/4, 2022 at 11:19 Comment(0)
S
19

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
Static answered 6/8, 2022 at 23:2 Comment(0)
I
5

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"
Imaginable answered 20/6, 2022 at 19:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.