CRXJS w/ Sandbox Page That Loads Remote React Script -- Best Practice? #837
-
Asking for best practices here: The Goal:I want to avoid going through the review process when I make changes to my extension, so I've decided to explore using a sandboxed page that loads a react app from my CDN. The Implementation PlanThe user will interact with the page, then the sandboxed page will post a message for my extension to handle. I think it will work, but I'm looking for suggestions on how to handle developing this app. The Issues I see:
Have other folks done this before (I'm assuming yesssss)? What is the ideal development flow for this kind of thing? I'm pretty sure this would pass Google's review, but would love to hear other people's experience. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I recognize this was over a year ago, but I'm wondering if you had any luck figuring this out! Thank you! |
Beta Was this translation helpful? Give feedback.
I did. I turns out that it's okay to load a page from a remote host. I load the page in a popup window. The issue that Google is concerned about is downloading code from an external host and running it within the chrome extension environment via
evaluate
. If you're just loading an external website, you can go ahead and do that.