I want to prevent lunching software made with angular 6 and php codeigniter if USB is not inserted into pc, if user start the software, the software should check if a usb is inserted, if true the software launches and if false, a message will pop up saying you need to insert the USB.
is there a way to detect if USB inserted using javascript or php?