Can the port stream based provider work in a tab application loaded by the extension?
i.e. when a background script opens a chrome extension app in a tab - can the chrome extension app connect to MetaMask?
I am not talking about content scripts. I am talking about a chrome extension app opening in a new tab.
The reason I wanted to connect to the web browser version of metamask in the tab was so that it is associated with the extension url:
chrome-extension://oahhaapnfpkfnbgeopliehfgenifngde/tab.html#register
and not the url the content script happens to be on.
If it is not possible to connect to Meta Mask in a chrome extension tab app, then is there another way to connect the meta mask browser wallet to a domain url like:
chrome-extension://oahhaapnfpkfnbgeopliehfgenifngde/tab.html#register
I am super struggling finding the answers to this so if anyone can help me I will be super happy.
Thanks for your time.