Chris Lees
Chris Lees

Reputation: 2210

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 XSS 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.

Upvotes: 4

Views: 9198

Answers (2)

Niklas
Niklas

Reputation: 25443

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

Upvotes: -1

Josef Pfleger
Josef Pfleger

Reputation: 74537

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

Upvotes: 2

Related Questions