The Web Serial API landed in Firefox 151, allowing you to connect directly to microcontrollers, dev boards, 3D printers, power meters, and other serial-connected hardware from the web.
-
@tasket @firefoxwebdevs How exactly is it a security nightmare when it needs explicit user consent?
@niutech How many users understand what is being asked of them?
How much will these prompts proliferate?
-
The Web Serial API landed in Firefox 151, allowing you to connect directly to microcontrollers, dev boards, 3D printers, power meters, and other serial-connected hardware from the web. Here's how it works:
@firefoxwebdevs WHAT THE FUCK! STOP FUCKING COPYING CHROME'S HELLSCAPE NIGHTMARES! -
The Web Serial API landed in Firefox 151, allowing you to connect directly to microcontrollers, dev boards, 3D printers, power meters, and other serial-connected hardware from the web. Here's how it works:
@firefoxwebdevs This is really cool and I've been waiting for this feature for so long. I'm excited to use it but I still don't understand how. The permission is required but what triggers the popup to grant the permission?
-
@firefoxwebdevs This is really cool and I've been waiting for this feature for so long. I'm excited to use it but I still don't understand how. The permission is required but what triggers the popup to grant the permission?
@hisold requestPort needs to be called from "user activation", like the click of a button element.
-
@hisold requestPort needs to be called from "user activation", like the click of a button element.
@firefoxwebdevs I just tried it again in a onclick function of a button. It just errors navigator.serial is undefined every time I click the button. Same when using the click event.
-
@firefoxwebdevs I just tried it again in a onclick function of a button. It just errors navigator.serial is undefined every time I click the button. Same when using the click event.
@hisold and you're definitely on Firefox 151 (desktop)?