title: Alert when page opened not in Chrome
body: <p>I'm trying to get an alert to pop up when the user opens my webpage in a browser other than Chrome. I have this:</p>
  
  <p>if (/<em>what to put here to make the below show only if the browser is not Google Chrome?</em>/) {
      alert( "Please use Google Chrome to access this site.\nSome key features do not work in browsers other than Chrome." );
  }</p>
  
  <p>Found this here as a possible condition: navigator.userAgent.search("Chrome"), but can't make it work. Please advise. :-)</p>