开发者

Disable Same-Origin Check in FireFox 6

开发者 https://www.devze.com 2023-04-01 09:37 出处:网络
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 开发者_S

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

精彩评论

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