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.
-
@firefoxwebdevs not a security nightmare at all...
/s
@tasket @firefoxwebdevs How exactly is it a security nightmare when it needs explicit user consent?
-
@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)?
-
@hisold and you're definitely on Firefox 151 (desktop)?
@firefoxwebdevs 151.0 (64-Bit) on the worst operating system of our time: windows.
-
@firefoxwebdevs 151.0 (64-Bit) on the worst operating system of our time: windows.
@hisold @firefoxwebdevs Hello! If you go to about:policies, do you see some policies set there? If so, for security reasons we turn off WebSerial. You can turn it back on by going to about:config and setting "dom.webserial.enabled" to true, or by setting the DefaultSerialGuardSetting policy (reference: https://firefox-admin-docs.mozilla.org/reference/policies/defaultserialguardsetting/ )
-
@hisold @firefoxwebdevs Hello! If you go to about:policies, do you see some policies set there? If so, for security reasons we turn off WebSerial. You can turn it back on by going to about:config and setting "dom.webserial.enabled" to true, or by setting the DefaultSerialGuardSetting policy (reference: https://firefox-admin-docs.mozilla.org/reference/policies/defaultserialguardsetting/ )
@hisold @firefoxwebdevs I'd also mention that it's a good idea to update to the latest 151.0 dot release - there are a few WebSerial fixes in there, one of which is Windows-specific. Let us know if you're having more trouble, thanks!
-
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 a great kit t-shirt, it seems to not be on the mozilla spreadshop, is this available somewhere?