Disable Web Security on the Browser Source in OBS 27.2.4?

brianhollowayjr

New Member
With the new update to OBS, there has been some security preference that has "turned on" internally for the Browser Source and it is blocked a script that I have running to pull a line of info form the browser.

On Windows, the fix is to add "--disable-web-security" in the Target line on an OBS Shortcut. But on Mac, I tried to run this in terminal but I don't have any luck getting my script to work properly:

/Users/brianholloway/Desktop/OBS.app/Contents/MacOS/OBS --disable-web-security

Is there any way to get around this or to give full permissions to OBS in a place that I don't know of?
 

roffi_daijoubu

New Member
--disable-web-security actually works in MacOS, but you need --user-data-dir argument

I've successfully run OBS without CORS using this command:

Code:
open -na OBS --args --disable-web-security --user-data-dir="/tmp/chrome_dev"
 
Top