ArnaudBuchholz / chrome-extension-url-mapper

URL mapper for chrome
0 stars 0 forks source link

Doesn't work with XMLHttpRequest (Access-Control-Allow-Origin) #5

Closed ArnaudBuchholz closed 8 years ago

ArnaudBuchholz commented 8 years ago

XMLHttpRequest cannot load http://buchholz.free.fr/chrome-extension-url-mapper/index.json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://arnaudbuchholz.github.io' is therefore not allowed access.

ArnaudBuchholz commented 8 years ago

Found this article, I propose to create an "override-CORS" setting in order to inject the correct header in the server answer.

ArnaudBuchholz commented 8 years ago

Actually, I found a way to override response headers to add the missing attribute