LeonidKaralis
PD🧩 Plasmo Developers
•Created by h123 on 4/17/2024 in #👾extension
How to inject React component on page?
@h123
You can add it with iframe what you made in tabs folder.
try this:
const iframe = document.createElement("iframe")
iframe.src = chrome.runtime.getURL("/tabs/left-content.html")
iframe.name = "left-content"
document.body.appendChild(iframe)
2 replies