I got a node express JS server and a chrome extension. I want to push "live" updates to the extension so the user doesn't need to manually update the extension so I thought about having the script for the extension serverside on a endpoint "/api/getSource" and I will call the endpoint everytime I open the page the extension should work on and run the code from the server with this function
new Function(StringFromAPI)();
I don't really have to care about security concerns as the app is just for me and a friend but is there any better way to push updates to a chrome extension without having to manually update it?
Thanks, Cornelius