magic-copy icon indicating copy to clipboard operation
magic-copy copied to clipboard

Fix CORS restrictions on Firefox

Open kevmo314 opened this issue 3 years ago • 1 comments

For some reason, Firefox seems to be very unhappy with the cross-origin requests out of the background script from the extension. I've posted about this here: https://discourse.mozilla.org/t/bypassing-cors-restrictions-on-background-scripts/113839/2

But I have no idea how to fix this after a few hours of trying different approaches. I don't think we can reliably do the fetch in the content script either.

This appears to be the last remaining issue for Firefox support.

kevmo314 avatar Apr 29 '23 15:04 kevmo314

hello, I am working on a similar project that uses a content script to modify images on a web page. have you found a solution to these CORS errors? i've also not found a way to resolve this problem.

ajtadeo avatar Feb 07 '24 21:02 ajtadeo