News: 0183380624

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Mozilla Brings Web Serial Workflows to Firefox, Collaborates With Adafruit (mozilla.org)

(Sunday May 24, 2026 @05:11PM (EditorDavid) from the serial-killer-app dept.)


The Web Serial API lets websites write to (and read from) serial devices using JavaScript, including USB and Bluetooth devices with virtual serial ports. And this week's Firefox 151 release introduced support for the Web Serial API on desktop.

"Most folks won't use this API," [1]acknowledges Mozilla's blog , "but for our community of builders and tinkerers, it unlocks the ability to use Firefox to communicate directly with compatible hardware devices like microcontrollers, development boards, and other serial-connected devices..."

> With Firefox's browser engine, Gecko, now supporting Web Serial, users can now connect, code, configure, and control compatible hardware directly from the browser in many workflows, often without additional software or complicated setup...

>

> As part of this week's launch, Adafruit, one of the internet's most beloved open-source hardware communities, is collaborating with us to test and validate what browser-based hardware development can look like in Firefox with Web Serial support... With Web Serial support in Firefox 151, Adafruit's browser-based hardware workflows now work directly in Firefox as well, with no additional software or complicated setup required for many projects. We invite you to [2]give it a try ...

>

> We want the web to be open, flexible, and shaped by the diversity of people building on it. If you're wiring up your first board, experimenting with hardware projects, or dusting off an old electronics kit, give Adafruit and Web Serial in Firefox a try. Build something amazing. Make something useful. Tell us what works. Tell us what breaks. Most of all, make it your own.

Mozilla's " [3]Hacks" blog demonstrates with an Adafruit ESP32-S2 based board "where messages sent from web code can be directly displayed on the device over Web Serial."

And Mozilla engineer Alex Franchuk even [4]built a [5]handheld device that [6]changes a web page's CSS properties .



[1] https://blog.mozilla.org/en/firefox/firefox-web-serial-adafruit/

[2] https://adafruit.github.io/Adafruit_WebSerial_ESPTool/

[3] https://hacks.mozilla.org/2026/05/web-serial-support-in-firefox/

[4] https://github.com/fqueze/webserial-power-profiling

[5] https://adafruit-playground.com/u/afranchuk/pages/page-playground-using-webserial-in-firefox?embeds=allow

[6] https://youtu.be/eo0TGsV4XC8?t=104



This Is Great News (Score:5, Interesting)

by crunchy_one ( 1047426 )

Now I can dump Chrome in the trash where it belongs. Web Serial support was the sole reason I've kept it on my machines.Thank you Mozilla, thank you Adafruit!

This is great. (Score:4, Insightful)

by Kamineko ( 851857 )

I do love it when malware advert javascripts can upload random new firmware updates into my mouse and keyboard turning them into stealth keyloggers. This is great.

This feels like when Flash sandbox breaks became a thing, but worse. At least in those days we got smooth fullscreen vector animations and games to enjoy. I'd rather Flash had just been bloody fixed instead of browsers themselves becoming Shit Flash But Holy Cow It Runs Worse And Gets Worse.

Re: (Score:2)

by znrt ( 2424692 )

> I do love it when malware advert javascripts can upload random new firmware updates into my mouse and keyboard turning them into stealth keyloggers. This is great.

so you're using a serial mouse in 2026 to browse porn? that's so "cool"!!

Re:This is great. (Score:4, Insightful)

by Kamineko ( 851857 )

All keyboards are serial. In fact, almost every keyboard ever is a giant parallel to serial convertor.

Re: (Score:2)

by bill_mcgonigle ( 4333 ) *

You'd get a popup to choose the port and grant permissions.

Have you ever flashed a Meshtastic or ESPHome device or updated firmware on a radio transceiver?

That's what they're talking about here.

Sounds peachy (Score:2)

by YuppieScum ( 1096 )

It had better be disabled by default.

Re: (Score:2)

by mmiscool ( 2434450 )

It requires permissions just like accessing a camera or microphone. Stop being paranoid.

Years ago... (Score:2)

by LordHighExecutioner ( 4245243 )

...a way to freeze Internet explorer was by inserting a < img src=lpt1: > tag in the html code.

it's about firggin time (Score:2)

by mmiscool ( 2434450 )

Sites like [1]https://serialterminal.com/ [serialterminal.com] will work in firefox. It was like pulling teeth to finally get brave to support this also. Now the only one left is safari.

[1] https://serialterminal.com/

Does it support token certificates? (Score:2)

by fabioalcor ( 1663783 )

Because it's the first thing that comes to my mind: much easier support for client-side digital document signatures using token certificates (like thumbdrive or smartcard devices) plugged in the client machine.

This has been a pain in both my previous and current job. Both provided SaaS products that worked with digitally-signed XML files. But when the client opted for using tokens/smartcards, we had no other choice than make the client install a client-side software to do it locally and send it back to the

Cerebus: I'd love to lick apricot brandy out of your navel.
Jaka: Look, Cerebus-- Jaka has to tell you ... something
Cerebus: If Cerebus had a navel, would you lick apricot brandy out of it?
Jaka: Ugh!
Cerebus: You don't like apricot brandy?
-- Cerebus #6, "The Secret"