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
lab2y 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_Shiro
Jed_ShiroOP2y ago
thanks mate! I'm working on the solution you mentioned above, hoping it works well.🤝
YAGPDB.xyz
YAGPDB.xyz2y ago
Gave +1 Rep to @louisgv
Dyvs
Dyvs2y ago
Hi, did you achive that?, I'm trying to do the same, could you share me an example, please.
Diegood
Diegood4mo ago
how come there are no examples of this ?
Want results from more Discord servers?
Add your server