I currently have a Chrome extension with a popup.html browser action. This popup allows the user to enter values in various fields, select different websites to search, then it searches those sites in new tabs. What I'd like to be able to do is bridge the gap between a custom fat app and this extension. Namely, the fields being filled out currently must be copy/pasted out of the other application and into this extension, but I'd like to automate that.

I'm open to suggestions on a best way to do this. My thoughts were to open chrome via command line, but i can't find any appropriate switches to open my extension popup. Nor how to reasonably pass data and consume it on the other side. Any ideas/help would be greatly appreciated.