Yeah I think the web extension approach is the best one. Shame they ruled it out. Extension background scripts can push data wherever you want. You can sideload the extension and talk to localhost ports or anyone on the internet. Use ajax or native events to talk to a local process. There's even an event system that tells you when tabs are opened, closed, activated, deactivated, etc.