title: How to get data from smartcard using Chrome extension
body: <p>I want to develop a simple Chrome-extension that will handle the communication with my smartcard.
  After installing a driver (as described at <a href="https://stackoverflow.com/questions/32737190/">Smartcard Reader and ChromeApp</a> ) I can get some information of my device, like this:</p>
  <pre><code>device #0: {
      &quot;device&quot;:0,
      &quot;manufacturerName&quot;:&quot;OMNIKEY AG&quot;,
      &quot;productId&quot;:12322,
      &quot;productName&quot;:&quot;Smart Card Reader USB&quot;,
      &quot;serialNumber&quot;:&quot;&quot;,
      &quot;vendorId&quot;:1899,
      &quot;version&quot;:516
  }
  </code></pre>
  <p>How can I continue?
  I need now to get ATR, and send/get data, and I have no idea how to do it...
  (we did it using some program languages, like Java, Python, C++, but I don't know where is the relevant API for JS/chrome)</p>