I am trying to connect a browser extension (Firefox, Chrome, IE ...) with an external application. Use the system without polling to notify messages between components.
I have already seen several approaches, but I'm not sure which of them are possible and which of them are the best.
In one solution, an IPC (OS dependent) solution can be used as named pipes or sockets, but I'm not sure if I can open a named pipe in the firefox or chrome extension. Moreover, I do not know if there is any event-based system that does not need to be polled as a message processing mechanism.
Another solution (only if I use firefox) is to use XPCOM, I think that with this approach I should create an instance of the XPCOM component implemented in the browser extension from an external application. I think that in my external application there should be an XPCOM problem as a dependency, right?
But using this method, is it possible to handle communication asynchronously?
Thanks in advance;)
browser ipc
HyLian
source share