chrome-extensions-reloader
chrome-extensions-reloader copied to clipboard
Any way to make an extension reload itself?
After .setEnabled(id,false) the extension itself goes blank, maybe there is someway to spawn a process that re-enables and launches it before that?
Hi, I'm not sure I understand. Can you please elaborate?
Sure, I have a custom extension I developed that I only distribute to one other person, I do not want to publish it on the chrome store. So as an alternative, the extension should update itself, as it works with a node server running in the background, I already
- Download the newest version
- Replace the source files
- Use your code to begin reloading
- The user has to go manually re-enable the extension.
Ideally the last step shouldn't be necessary.
The server is node, thought about making it reload it, saw that there was a convoluted way, where chrome has to be started with some development flags