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

Injecting Metamask Web3 into an extension #2919

Closed
macbem opened this issue Jan 10, 2018 · 3 comments
Closed

Injecting Metamask Web3 into an extension #2919

macbem opened this issue Jan 10, 2018 · 3 comments

Comments

@macbem
Copy link

macbem commented Jan 10, 2018

Is it possible to use MetaMask from within another web extension? I need to create a browser extension that will handle Ethereum payments and I'd like to use MetaMask for that.

@tmashuang
Copy link
Contributor

I do not believe so, seems Chrome prevents this type of behavior for security reasons.

@zgallagher08
Copy link

Is this still impossible? What about using background.js to fetch the web3 instance?

@Powersource
Copy link

There's recently been added a way to do this #4577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants