Answering my question (partially). Found a great Mac-only app called "Velja" which does exactly what I wanted. It allows you to define rules based on URL patterns and "routes" to the appropriate browser window.
Now I just need the same thing for Linux.