-
Notifications
You must be signed in to change notification settings - Fork 417
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
Issue with Polkadot.js Extension Integration for DApp Inside Iframe #1274
Comments
@AleemAlam I don't know if you are still facing this problem. I solved it using HTML5 message API. But you need to be in control of both the parent window and the iframe window as we need code changes on both sides. |
I also have the same problem, @ankitShogun how did you do this? do you pass the |
@teodorus-nathaniel What i did was to create a sort of communication layer between iframe and the extension using the parent. Event based communication in short. |
@ankitShogun is there any example code on how to communicate between iframe and parent? |
@jacogr i'd love to help contribute to this feature if it could be added. |
Hi there,
I'm submitting a ...
✅ Feature request
I'm currently developing a DApp that renders within an iframe, and I encountered an issue with accessing the Polkadot.js extension. The DApp inside the iframe is unable to access the Polkadot.js extension, while it successfully accesses other extensions like MetaMask.
My goal is to enable the DApp inside the iframe to interact with the Polkadot.js extension to access Polkadot-based networks and perform transactions seamlessly.
Could you kindly guide how to achieve this functionality? Is there a specific approach or workaround that can allow the DApp inside the iframe to access the Polkadot.js extension successfully?
Thank you for your attention and assistance. I look forward to your valuable insights and solutions to resolve this issue.
Best regards,
Aleem Alam
The text was updated successfully, but these errors were encountered: