Dynamically Injecting Content Scripts with Plasmo CSUI
I'm working on a browser extension and wondering about the feasibility of loading external scripts dynamically. I understand that Chrome Web Store policies are generally restrictive when it comes to dynamic script injection, especially for security reasons, but I'm interested in whether anyone has found long-term success with this kind of setup (for example for when different users are paying for different features).
Specifically:
- Has anyone been able to dynamically load external resources or scripts without facing issues during Web Store review or updates?
- Are there alternative approaches for managing modular content (e.g., selectively loading features from a server) that comply with Web Store policies?
- How have solutions like content security policies (CSP) and server-managed entitlement checks been used to navigate this kind of challenge?
I'm trying to understand if it's possible to achieve flexibility in feature loading without violating the security rules or risking removal from the store.
Any insights or experiences would be really helpful!
0 Replies