I'm building a chrome extension with ReactJs. I understood how content-script and background script works but, I'm not able to "share" an object/methods between the chrome extension (popup) and the current web page.
For example:
MetaMask inject a global web3 object, every page can use it and trigger the pop-up chrome extension.
Any idea?