microscopic-fountain-15258
07/31/2022, 6:21 PMsticky-dress-98131
08/08/2022, 7:05 PMmost-salesclerk-14054
10/01/2022, 9:00 PMcalm-action-35062
10/05/2022, 1:57 AMmost-machine-79117
10/11/2022, 6:40 PMexport const getInlineAnchor: PlasmoGetInlineAnchor = () =>
document.querySelector("aside:first-child")
This is the screenshot working code:
export const getInlineAnchor: PlasmoGetInlineAnchor = () =>
document.querySelector("aside")
able-monkey-99542
10/18/2022, 2:10 AMchrome.scripts.executeScript
to execute a content script from the background? I'm aware that there's a similar example here, but that uses func
. I want to use files
to inject a React component into the DOM.
https://github.com/PlasmoHQ/examples/tree/main/with-main-world-content-script-injectionbrash-room-66019
10/18/2022, 4:20 PMearly-river-77596
11/08/2022, 10:06 PMgetRootContainer
to inject React UIs into an embedded iframe element ? For some reason document.getElementById('root')
doesn't find my root element within an injected iframe container.