title: Embedding node.js in a Firefox extension and running a server in-browser
body: <p>I am trying to figure out how to embed node.js within a Firefox extension, so that I can run a persistent server process (specifically <a href="https://github.com/peers/peerjs-server">PeerServer</a>) from within the browser, as long as the user has the extension enabled. The only thing I've been able to find online is <a href="http://rawkes.com/articles/running-node">this guide</a> ... but I haven't been able to make those instructions work, and need to find some more resources.</p>
  
  <p>1) Does anyone have any other resources besides the article I linked to above that talk about embedding node.js in Firefox extensions? Any code examples?</p>
  
  <p>2) Is there some reason that it would not be possible to run a persistent server process such as PeerServer from within a Firefox extension? Are there some kind of limitations on extensions that would prevent me from being able to do that?</p>