I noticed that metamask extension injects provider via inpage.js only to the top frame.
How then the iframes have window.ethereum if it's only injected in top frame?
When I try to, I only have window.ethereum in the top frame.
I'm using manifest v3 and my inpage script runs the same way as metamask's
and it does
Hi,
I noticed that metamask extension injects provider via
inpage.js
only to the top frame. How then the iframes havewindow.ethereum
if it's only injected in top frame? When I try to, I only havewindow.ethereum
in the top frame.I'm using manifest v3 and my inpage script runs the same way as metamask's and it does
Thanks.