title: Is there a way to distinguish that my Javascript is running in a trident-based application vs. Internet Explorer?
body: <p>I've got a third party script that runs in many places on the web. I'd like to be able to tell when I'm running in an app vs. a browser. The user agent doesn't always help. Chrome provides the <code>chrome</code> object which has some different properties depending on the environment. Anyone know of anything similar for IE?</p>
  
  <p>This is for a product similar to google analytics which can be implemented or wind up in many environments, and I'm trying to distinguish them better.</p>