Settings

Theme

Web Serial Support in Firefox

hacks.mozilla.org

25 points by tech234a 6 days ago · 7 comments

Reader

igor47 6 days ago

Nice. I ran into this issue a few months ago:

https://igor.moomers.org/posts/wled-christmas-lights#flashin...

Nice to hear it works now without the very hacky work around

PaulHoule 6 days ago

woohoo! let's get web bluetooth too!

focusedone 6 days ago

Sweet!

accelbred 6 days ago

Whelp time to figure out how to disable it or patch it out.

  • theamk 6 days ago

    why? Web Serial is one of the better web-based integrations out there. There is no functionality available without an explicit authorization, all that website can do is to pop up a dialog. And you approve individual port on per-site basis, so it's not like it can grab a random port without your knowledge.

    This is my favorite model for web: anything more complex should be gated behind user permission. A site which requires that functionality will get that permission with no problem, and a random clickbait fingerprinter will get nothing.

  • gregstoll 5 days ago

    As others have said, you'll get a dialog if any site actually tries to use this. But if you want to fully turn it off, just set "dom.webserial.enabled" to false in about:config (and restart Firefox)

  • askl 5 days ago

    Should be a single click just like with all the other permission based stuff.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection