Can i inject a content script UI at a specific time?

I want to inject some components into the host page using content script UI at a specific time, such as clicking the action icon, how can I control the timing of triggering the injection?
5 Replies
lab
lab16mo ago
My recommendation is to have a dormant CSUI preloaded into the page, and upon user's interaction, unhide the CSUI But if JIT injection is what you really need - you can use the manual script execution API
Jed
Jed16mo ago
thanks mate! I'm working on the solution you mentioned above, hoping it works well.🤝
YAGPDB.xyz
YAGPDB.xyz16mo ago
Gave +1 Rep to @louisgv
Dyvs
Dyvs16mo ago
Hi, did you achive that?, I'm trying to do the same, could you share me an example, please.
Diegood
Diegood2w ago
how come there are no examples of this ?
Want results from more Discord servers?
Add your server