title: Can my chrome extension open a link in a different profile?
body: <p>I use two different Chrome profiles (users) on my laptop: one for my work stuff and one for my personal browsing.</p>
  
  <p>Sometimes I click a link from HipChat and it opens it in the personal profile even though it's for work (e.g. login.work.com).  (This is because I happen to have been in my personal chrome window most recently.) </p>
  
  <p>I'd like to make a chrome extension I can install in my personal profile to match the URLs of *.work.com and send these over to the work profile window.</p>
  
  <p>I haven't found a way to open a url into a different profile.  Anyone know of a way?</p>
  
  <p>(A hacky idea I got from reading <a href="https://superuser.com/a/289618">https://superuser.com/a/289618</a> is maybe I could shell out to something along the lines of <code>google-chrome --user-data-dir=$work_profile</code>, but I'd be happier if there was a JS API and I didn't have to ask permission to run programs on the user's computer.)</p>