Chrome.webrequest Cross-origin Disallowed Scheme On Redirect To Data:
I'm using chrome.webRequest api to intercept xhr's and redirect to a saved blob i have in chrome.storage.local and get this error: XMLHttpRequest cannot load http://test.com/bla.xm
Solution 1:
Redirecting to data:
-URIs is fully supported by the webRequest API (and you don't need the non-existent data:*
permission for it).
Your requests failed because data:-URI access through XMLHttpRequest was not supported until Chrome 39. (Starting in Chrome 39, you will be able to fetch data:
-URIs using XMLHttpRequest, see http://crbug.com/308768 for more info).
Post a Comment for "Chrome.webrequest Cross-origin Disallowed Scheme On Redirect To Data:"