开发者

Disable Same-Origin Check in FireFox 6

I'm trying to debug an XMPP application I'm building in javascript. I want to use FireBug because I think it works really well as far as javascript debuggers go. The problem I'm having is an 开发者_StackOverflowXSS issue. The XMPP server we're using is located on another machine an I need to connect to it.

I can debug no problem in Chrome using the --disable-web-security flag when opening the application. I just can't seem to find the Firefox equivalent (if there even is one). Every thing I'm finding on the issue is years old targeting ancient versions of Firefox.

I was hoping it would be a config value in about:config or at least an extension I could install but I'm coming up blank.


I've written a simple one-button Firefox add-on that adds the CORS headers to every request. Works for me.


You may try this, as long as there is a about:config in FireFox 6 with this property

about:config -> security.fileuri.strict_origin_policy -> false
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜