Is there a way to communicate with USB devices from browser?

前端 未结 6 1966
孤独总比滥情好
孤独总比滥情好 2021-02-14 23:45

Is there a way to communicate with USB devices within regular browser (FF, Safari, IE8, etc)? I assume it could be Javascript -> Java bridge or something else.

Please a

6条回答
  •  生来不讨喜
    2021-02-15 00:08

    There are two choices

    1. Use a browser plugin runtime like (Silverlight or Flash) that talks to Windows HID.

    or 2. Use a local HTTP server and have JQuery post backs to the local HTTP Server which inturns talks to HID.

提交回复
热议问题