Replies: 1 comment 3 replies
-
Got it working for a second just now, I'm thinking the issue is related to querySelector returning The question is then, how can I get the querySelector to only run after all the DOM elements have loaded in? Or run similar to a useEffect, where it runs everytime new |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I'm wondering if there's a tried and true way to inject content-scripts into the DOM using crxjs.
I tried this a few days ago and actually got something working:

However, no matter what I do, this no longer works. The way I did it was to use
instead of
But it no longer renders at all. Is there a way to reliably get this type of injection done?
Beta Was this translation helpful? Give feedback.
All reactions