Skip to content

[Bugfix] Firefox initialization and CORS error#1

Open
RTAndrew wants to merge 2 commits intoimagineemma:mainfrom
RTAndrew:bugfix/firefox-initialization-and-cors
Open

[Bugfix] Firefox initialization and CORS error#1
RTAndrew wants to merge 2 commits intoimagineemma:mainfrom
RTAndrew:bugfix/firefox-initialization-and-cors

Conversation

@RTAndrew
Copy link

Firefox Initialisation

Firefox does not fully support service_worker yet, thus, it is still required to include scripts

https://blog.mozilla.org/addons/2024/03/13/manifest-v3-manifest-v2-march-2024-update/
imagem

CORS

Whenever the extension ran, the backend was rejecting the origin moz-extension://[extension-id]
And because this origin can vary depending on the browser, I make it more permissive by accepting every connection/request.

@RTAndrew RTAndrew changed the title [Bugfix] Fiirefox initialization and CORS error [Bugfix] Firefox initialization and CORS error Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant