Where to disable cross-network protection in Opera?
Solution 1
Nowadays Opera is based on chromium, so you shoud use chromium way to disable SOP
and process requests without CORS
headers:
cd c:\Program Files\Opera\
launcher.exe --disable-web-security --user-data-dir="c:\nocorsbrowserdata"
Of course like in chromium, to make this work you should kill all your instances of opera.exe
before starting with --disable-web-security
flag.
If you want more details how to automate this, see tip on my website
Solution 2
I believe opera:config#Network|AllowCrossNetworkNavigation is the right preference.
Solution 3
Disabling it entirely has security implications though - see this: Opera won't load some JavaScript files for a safer workaround :)
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on June 15, 2022Comments
-
Admin about 2 years
In JS security issue with Opera 11.01, after moving from server A to B I learned that opera has some "cross-network" protection.
I encountered the same js security problem and I found that Opera 11.10 (“Barracuda”) added a preference to disable cross-network protection. My Opera is 11.50 but I can't find the specific preference.
Do I misunderstand the meaning of the "cross-network"?
Thanks a lot.
-
Michael Schmeißer over 11 yearsThanks, this made it work. hallvors is correct though, but the other solution did not work for me.
-
palaniraja about 7 yearsin case of mac
open -a Opera --args --disable-web-security --user-data-dir=~/emptydir
-
N-ate over 3 yearsCan't find this in the current version of opera.