In a response to my post about automatically determining the host/port of a local Catalyst server, Adam Kennedy recommended a Firefox extension. After reading about creating XUL extensions for Firefox, and having written XUL in the past, this seems like a fun and worthwhile challenge.
But how do I do it? I could automatically try localhost:3000 as a first shot, but JavaScript can't access the process table, so that's out. What are my options? Assume localhost and walk through the port numbers looking for reasonable headers? This seems a bit dodgy to me. I'm not sure how to make this work, or even if it's possible.