|
|
|
|
|
by repelsteeltje
995 days ago
|
|
Not sure about this, but I think from JavaScript you can absolutely probe stuff without explicit user consent.
For instance, without accessing any USB device I can try: if(!navigator.usb) {
console.log("learned that browser does not have USB capability");
} else {
console.log("learned that browser has USB capability");
navigator.usb.getDevices().then((devices) => {
devices.forEach((device) => {
console.log(device.productName);
console.log(device.manufacturerName);
});
});
}
(Which is useful for fingerprinting.) |
|