You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metamask extension is not being detected as installed on Firefox.
Console shows Content-Security-Policy issue for script-src-elem / script-src on inpage.js
Expected Behavior
Metamask extension is being detected as installed on Firefox.
Steps To Reproduce
Open Firefox
Install metamask browser extension
Opening rainbowkit and trying to connect with metamask on a page that does not allow for unsafe-inline as script-src or script-src-elem
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
I'm unable to find a way to provide a nonce to rainbowkit so that we don't have to allow for unsafe-inline in our CSP.
The text was updated successfully, but these errors were encountered:
DorianWilhelm
changed the title
[bug] CSP causing issues to connect on Firefox
[bug] CSP causing issues to detect Metamask extension on Firefox
Jan 13, 2025
Is there an existing issue for this?
RainbowKit Version
2.2.1
wagmi Version
2.14.7
Current Behavior
Metamask extension is not being detected as installed on Firefox.
Console shows Content-Security-Policy issue for
script-src-elem
/script-src
oninpage.js
Expected Behavior
Metamask extension is being detected as installed on Firefox.
Steps To Reproduce
unsafe-inline
asscript-src
orscript-src-elem
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
I'm unable to find a way to provide a nonce to rainbowkit so that we don't have to allow for
unsafe-inline
in our CSP.The text was updated successfully, but these errors were encountered: