Is there anyway for me to communicate with my chrome extension from a command-line \ some other process ? I need my extension if it could get commands from scripts\command-line that would invoke functions on my extension. I'm looking for something like sockets but since extensions are built in javascript this doesn't seem possible (and the whole socket-like message passing in chrome only allows you to communicate between your own pages or other extensions , not other processes).
HTML5 exposes a JavaScript socket interface called web sockets which will allow you to communicate from any process with your extension. Chrome supports web sockets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With