jpillora/xdomain
View on GitHub ↗ ★ 3,142 JavaScript
A pure JavaScript CORS alternative
7 mentions on Hacker News by 6 people: 5 stories, 2 comments · first 2013-07-29 · latest 2018-09-02
20082026
-
Yes, this aspect of CORS is not nice. I've used https://github.com/jpillora/xdomain to get around this and thought it was a thoroughly excellent workaround. There are other libraries that do this too (and according to the GH page, Google…
comment by jarym · 2018-09-02 · in The Performance Cost of CORS Requests on Single-Page Applications -
…serious work with CORS you'll probably realise CORS itself is just hacks upon hacks. Project Link: https://github.com/jpillora/xdomain
comment by Benjamin_Dobell · 2016-04-05 · in Killing CORS Preflight Requests on a React SPA