jAndy
jAndy

Reputation: 235962

Crossdomain settings in Google Chrome

I'm wondering, in IE & Firefox you're able to setup the browser, to allow cross-domain calls.

I can't find any option in chrome for that (actually, there are in general not too much options at all...)

are there any about:config like things?

Kind Regards

--Andy

Upvotes: 8

Views: 47657

Answers (3)

jiahut
jiahut

Reputation: 1531

You can install chrome plugins which enable cross-origin resource sharing .

I use this .

Upvotes: 2

Ashish Agarwal
Ashish Agarwal

Reputation: 6283

This answer was correct when written, but is longer correct, the switch has been deprecated

Chrome has a command line switch for this:

chrome.exe --disable-web-security

You can view a full list (as of when it was posted!) of command line options for chrome here.

Upvotes: 21

Kinlan
Kinlan

Reputation: 16597

No. Sorry.

Chrome and Firefox, however do support cross-domain requests via the W3C CORS spec (Cross Origin resource sharing) however the remote host has to enable it. If the remote host supports it explicitly then you don't have to make any changes to your XMLHttpRequest to be able to fetch the content.

Upvotes: 5

Related Questions