This page shows how to use Corsfix as a proxy to bypass CORS errors in XMLHttpRequest requests.
// basic usageconst xhr = new XMLHttpRequest();xhr.open("GET", "https://proxy.corsfix.com/?<TARGET_URL>");xhr.send(); // with headers overrideconst xhr = new XMLHttpRequest();xhr.open("GET", "https://proxy.corsfix.com/?<TARGET_URL>");xhr.setRequestHeader( "x-corsfix-headers", JSON.stringify({ Origin: "https://www.google.com", Referer: "https://www.google.com", }));xhr.send();