在哪里禁用Opera的跨网络保护? [英] Where to disable cross-network protection in Opera?
问题描述
在 Opera 11.01的JS安全问题,从服务器A转移到B后我了解到Opera有一些跨网络保护。
In JS security issue with Opera 11.01, after moving from server A to B I learned that opera has some "cross-network" protection.
我遇到了同样的问题js安全问题,我发现Opera 11.10(Barracuda)增加了禁用跨网络保护的首选项。我的歌剧是11.50,但我找不到具体的偏好。
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"?
非常感谢。
推荐答案
如今Opera基于铬,所以你应该用铬方式来禁用 SOP
并处理请求而不包含 CORS
标题:
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"
当然,就像在铬中一样,为了完成这项工作你应该杀死你所有<$ c $的实例c> opera.exe 在开始 - disable-web-security
标志之前。
如果您想了解更多有关如何自动执行此操作的详细信息,请参阅提示在我的网站上
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
这篇关于在哪里禁用Opera的跨网络保护?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!