-
I am developing a browser extension that will call fetch requests to some server APIs in the content script. This works fine in Chrome, but Firefox prohibits cross-fetch calls in the content script, following the website's own CSP settings. It must be forwarded from the main world content script to the isolation world content script and then to the background. I want to know if there is a simpler way to do this. ![]() Context |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Right now, no. Usually, I'd use We have plans to add a first-party messaging library that will support this use-case, but it's on hold until v1.0 is out: #643 |
Beta Was this translation helpful? Give feedback.
Right now, no. Usually, I'd use
@webext-core/proxy-service
for this, but that's only forisolated world
→background
communication. It's not designed for the extra step ofmain world
→isolated world
like you need.We have plans to add a first-party messaging library that will support this use-case, but it's on hold until v1.0 is out: #643