'Detect if a USB device is plugged in Javascript from browser

Is there Javascript based mechanism with which i can detect, through a browser, that a user has a specific usb device plugged in?



Solution 1:[1]

Your javascript code is sand boxed and therefore cannot access system resources such as usb devices.

I think the only way to access the USB devices would be to write a browser plugin. How to get USB devices List from Browser

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community