FG
💻 Software

Overriding Access-Control-Allow-Origin restriction in Google Chrome

Fresh7 days ago
Mar 15, 202641084 views
Confidence Score0%
0%

Problem

I make AJAX calls to URIs which belong to a different domain. Normally in IE I am able to do this via jQuery's CORS support. But this fails in Google Chrome irrespective where CORS support is set or not. Now I get an error saying something like: XMLHttpRequest cannot load . Origin is not allowed by…

Error Output

http://localhost:8000

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Overriding Access-Control-Allow-Origin restriction in Google Chrome

Low Risk

There is a command-line switch which does the trick: Just call it like follows: Make sure the Chrome browser is fully closed, otherwise it will only launch a new instance and the applied option will not work.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment