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

Using Polkadot JS extension from another extension #912

Open
LaurentTrk opened this issue Dec 9, 2021 · 4 comments
Open

Using Polkadot JS extension from another extension #912

LaurentTrk opened this issue Dec 9, 2021 · 4 comments
Labels
Feature New functionality expanding SDK’s capabilities, adding tools or APIs for developers. P4 - Needs Investigation Requires analysis to determine cause or feasibility. Not fully understood, needs research first.

Comments

@LaurentTrk
Copy link

Nota : this is a duplicate of the closed #849 issue, as I missed the closing notification emails :(.
Very sorry for the extra work, feel free to reopen the first issue or continue in this one.

Hi guys,

At this time, it is not possible to use the Polkadot JS extension from another extension, the content scripts needed from the Polkadot JS extension are not injected in the other extension.

One solution could be the use of the Chrome Cross Extension messaging feature, which allow one extension to exchange messages with another.

For my own needs, I started working on this. You will find the related code (work in progresss) in the following repositories:

Do you guys think it make sense to implement this feature in the Polkadot JS official extension ?
Please let me know if you want to discuss this further :)
Thanks for your help.

@LaurentTrk
Copy link
Author

I can prepare a PR for that feature for the beginning of the next week.
@jacogr just let me know if it's ok for you.

@polkadot-js-bot
Copy link

This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.

@LaurentTrk
Copy link
Author

Happy new year ! 🎉
The PR #935 is ready for review 🚀

@polkadot-js-bot
Copy link

This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.

@jacogr jacogr added -size-m and removed stale labels Jan 24, 2022
@TarikGul TarikGul added P4 - Needs Investigation Requires analysis to determine cause or feasibility. Not fully understood, needs research first. Feature New functionality expanding SDK’s capabilities, adding tools or APIs for developers. labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New functionality expanding SDK’s capabilities, adding tools or APIs for developers. P4 - Needs Investigation Requires analysis to determine cause or feasibility. Not fully understood, needs research first.
Projects
Status: P4 - Needs Investigation
Development

No branches or pull requests

4 participants