title: Detecting NPAPI support using JavaScript
body: <p>How can you detect if a browser supports NPAPI from JavaScript? Not all of them do, and whilst I could rely on the user-agent I'd much rather do it a more reliable way if one exists.</p>
  
  <p>Unfortunately, I can't simply detect if my plug-in has loaded or not, as it may be that the plugin simply isn't installed yet on a supported browser.</p>
  
  <p>Thanks.</p>