火狐浏览器客户端读取串口的数据

火狐浏览器读取客户端串口的数据,然后javascript能够得到串口的数据。
应该是要开发一个插件的。跪求大神给个方案,万分感谢!!!

https://github.com/billhsu/jUART

这个。具体提安装看说明,支持win、Linux,mac系统
Install Plugin

Windows:

Copy the /bin/Windows/npjUART.dll into your browser's plugin directory.

Take FireFox for example: Copy /bin/Windows/npjUART.dll to C:\Program Files (x86)\Mozilla Firefox\plugins

For Windows 8, you need to register the DLL first. You can copy the DLL under SYSTEM32(or SYSWOW for 64 bit systems). After that there's no need to copy it to browser's folders.

小弟可额外支付一些汗水费。