Need to call client side DLL from browser

后端 未结 3 1866
心在旅途
心在旅途 2021-01-03 05:12

I got requirement from client that when any user swipe their card then their details should be capture in web page automatically on client side. However same we are doing in

3条回答
  •  Happy的楠姐
    2021-01-03 05:40

    The only way you could do that would be to use the NPAPI — e.g., a "browser plugin" like the Java plugin. NPAPI plugins have full, unrestricted access to the client machine.

    But note that Chrome is dropping support for NPAPI plugins (in fact, already has in Linux and will soon under Windows), so even if you wrote an NPAPI plugin and got people to install it, before long they wouldn't be able to use it in Chrome. Similarly, your ActiveX solution won't work in more modern versions of IE, since IE dropped support for them.

    In short: You cannot do this in a modern browser. Instead, you'll need to create a program users download and install. That program could contain a hosted browser control, or you could try to use the OS's application automatic interface (if it has one) to find the browser window and paste the information into it. That would, of course, be different on every OS.

提交回复
热议问题