Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not inject as window.cardano.yoroi in Firefox #2697

Open
grim-i-am opened this issue Feb 2, 2022 · 1 comment
Open

Does not inject as window.cardano.yoroi in Firefox #2697

grim-i-am opened this issue Feb 2, 2022 · 1 comment
Assignees

Comments

@grim-i-am
Copy link

Firefox 96.0.3 (64-bit) for Linux Mint

Can't access wallet api from app running in firefox as window.cardano is null

@vsubhuman vsubhuman self-assigned this Feb 2, 2022
@vsubhuman vsubhuman added this to the 4.11.0 milestone Feb 3, 2022
@vsubhuman
Copy link
Contributor

Update: Firefox is blocking the execution of the inlined script which is used at the moment to inject the API into the window object. This is happening when the Content Security Policy (CSP) is enabled in the browser. Version 4.10 will work on Firefox for users that have CSP disabled. For everyone else, the connector functionality will not be supported yet for Firefox in this version.

There's a way to implement the API injection in a different way specifically for Firefox, but this will take a bit more time to implement and see how it works with the CSP and test everything. Planned for the next version 4.11 at the moment, but might change.

@vsubhuman vsubhuman removed this from the 4.11.0 milestone Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants