Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. 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.

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.

Scheduled Pinned Locked Moved Uncategorized
30 Posts 14 Posters 5 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

    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:

    hj@shigusegubu.clubH This user is from outside of this forum
    hj@shigusegubu.clubH This user is from outside of this forum
    hj@shigusegubu.club
    wrote last edited by
    #5
    @firefoxwebdevs so Web Serial is OK but WebHID and WebUSB are not?
    firefoxwebdevs@mastodon.socialF 1 Reply Last reply
    0
    • hj@shigusegubu.clubH hj@shigusegubu.club
      @firefoxwebdevs so Web Serial is OK but WebHID and WebUSB are not?
      firefoxwebdevs@mastodon.socialF This user is from outside of this forum
      firefoxwebdevs@mastodon.socialF This user is from outside of this forum
      firefoxwebdevs@mastodon.social
      wrote last edited by
      #6

      @hj what do you mean by 'ok' here?

      hj@shigusegubu.clubH 1 Reply Last reply
      0
      • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

        @hj what do you mean by 'ok' here?

        hj@shigusegubu.clubH This user is from outside of this forum
        hj@shigusegubu.clubH This user is from outside of this forum
        hj@shigusegubu.club
        wrote last edited by
        #7
        @firefoxwebdevs

        https://mozilla.github.io/standards-positions/#webusb
        https://mozilla.github.io/standards-positions/#webhid
        firefoxwebdevs@mastodon.socialF 1 Reply Last reply
        0
        • schepp@mastodon.socialS schepp@mastodon.social

          @firefoxwebdevs what motivated you to implement Web Serial API, after so many years of not implementing it? Also, is this an outlook for Web USB and/or Web Bluetooth?

          firefoxwebdevs@mastodon.socialF This user is from outside of this forum
          firefoxwebdevs@mastodon.socialF This user is from outside of this forum
          firefoxwebdevs@mastodon.social
          wrote last edited by
          #8

          @Schepp developer feedback, and finding a satisfactory flow that communicates the security and privacy implications.

          This is the second API we've done this with, the other being WebMIDI. We're looking at other similar APIs one at a time.

          raymaccarthy@mastodon.ieR 1 Reply Last reply
          0
          • hj@shigusegubu.clubH hj@shigusegubu.club
            @firefoxwebdevs

            https://mozilla.github.io/standards-positions/#webusb
            https://mozilla.github.io/standards-positions/#webhid
            firefoxwebdevs@mastodon.socialF This user is from outside of this forum
            firefoxwebdevs@mastodon.socialF This user is from outside of this forum
            firefoxwebdevs@mastodon.social
            wrote last edited by
            #9

            @hj Web Serial is the second API we've applied this new permission flow to, the other being WebMIDI. We'll continue to look at other APIs on an individual basis.

            hj@shigusegubu.clubH 1 Reply Last reply
            0
            • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

              @hj Web Serial is the second API we've applied this new permission flow to, the other being WebMIDI. We'll continue to look at other APIs on an individual basis.

              hj@shigusegubu.clubH This user is from outside of this forum
              hj@shigusegubu.clubH This user is from outside of this forum
              hj@shigusegubu.club
              wrote last edited by
              #10
              @firefoxwebdevs I hope you implement at least WebHID because it's very popular and lack of support for it in Firefox just drives popularity of Electron and Chromium(-based browsers)
              firefoxwebdevs@mastodon.socialF 1 Reply Last reply
              0
              • hj@shigusegubu.clubH hj@shigusegubu.club
                @firefoxwebdevs I hope you implement at least WebHID because it's very popular and lack of support for it in Firefox just drives popularity of Electron and Chromium(-based browsers)
                firefoxwebdevs@mastodon.socialF This user is from outside of this forum
                firefoxwebdevs@mastodon.socialF This user is from outside of this forum
                firefoxwebdevs@mastodon.social
                wrote last edited by
                #11

                @hj which sites do you use that use it, or what are your use-cases for it as a developer?

                hj@shigusegubu.clubH 1 Reply Last reply
                0
                • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

                  @hj which sites do you use that use it, or what are your use-cases for it as a developer?

                  hj@shigusegubu.clubH This user is from outside of this forum
                  hj@shigusegubu.clubH This user is from outside of this forum
                  hj@shigusegubu.club
                  wrote last edited by
                  #12
                  @firefoxwebdevs something like https://usevia.app/ https://launcher.keychron.com/

                  Same idea as Web Serial, just different hardware API. Usecase is the same - controlling and configuring hardware.

                  VIA and Keychron Launcher let me configure my keyboard and mouse without having to download a windows-only "driver" and run it on wine with terrible results.
                  1 Reply Last reply
                  0
                  • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

                    @Schepp developer feedback, and finding a satisfactory flow that communicates the security and privacy implications.

                    This is the second API we've done this with, the other being WebMIDI. We're looking at other similar APIs one at a time.

                    raymaccarthy@mastodon.ieR This user is from outside of this forum
                    raymaccarthy@mastodon.ieR This user is from outside of this forum
                    raymaccarthy@mastodon.ie
                    wrote last edited by
                    #13

                    @firefoxwebdevs @Schepp
                    What about restore GUI that follows the system?
                    Fix printing bugs.
                    Offer paginated view of a website.
                    Fix bugs.
                    Strip all viewers except Web page (no PDF).
                    Fix bugs.
                    Fix GUI.
                    Privacy.

                    I do not want WebApps, or controlling serial or USB devices or MIDI via a web page.

                    I want a WEB BROWSER. Something that fetches webpages, renders HTML/CSS and allows disabling per item of content not from the domain.

                    Listen to real users! But it's nearly impossible to send feedback!

                    raymaccarthy@mastodon.ieR 1 Reply Last reply
                    0
                    • raymaccarthy@mastodon.ieR raymaccarthy@mastodon.ie

                      @firefoxwebdevs @Schepp
                      What about restore GUI that follows the system?
                      Fix printing bugs.
                      Offer paginated view of a website.
                      Fix bugs.
                      Strip all viewers except Web page (no PDF).
                      Fix bugs.
                      Fix GUI.
                      Privacy.

                      I do not want WebApps, or controlling serial or USB devices or MIDI via a web page.

                      I want a WEB BROWSER. Something that fetches webpages, renders HTML/CSS and allows disabling per item of content not from the domain.

                      Listen to real users! But it's nearly impossible to send feedback!

                      raymaccarthy@mastodon.ieR This user is from outside of this forum
                      raymaccarthy@mastodon.ieR This user is from outside of this forum
                      raymaccarthy@mastodon.ie
                      wrote last edited by
                      #14

                      @firefoxwebdevs @Schepp
                      I write as someone that has developed software, uses real & USB based serial, various USB devices (MTP, Storage, Minidisc, camera, capture, audio), PDFs, built websites, desktop & embedded programs.
                      Every week there is new garbage program using the Web Browser instead of a sane GUI framework.
                      A web Browser is now a privacy leaking monster.
                      Firefox-bin 517.5 MiB one Tab!
                      That's obscene.
                      KATE 161.9
                      Okular with a giant PDF manual: 206 MiB. It's the Swiss Army Knife viewer.

                      1 Reply Last reply
                      0
                      • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

                        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:

                        hrw@society.oftrolls.comH This user is from outside of this forum
                        hrw@society.oftrolls.comH This user is from outside of this forum
                        hrw@society.oftrolls.com
                        wrote last edited by
                        #15

                        @firefoxwebdevs

                        Finally... When WebUSB so I would not need Chromium to configure keyboard?

                        cyon@ennexis.deC 1 Reply Last reply
                        0
                        • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

                          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:

                          cyon@ennexis.deC This user is from outside of this forum
                          cyon@ennexis.deC This user is from outside of this forum
                          cyon@ennexis.de
                          wrote last edited by
                          #16

                          @firefoxwebdevs
                          This is what we want!
                          Not stupid soccer widgets appearing without consent and AI Slop,
                          but actual features and improvements to the browser!!!

                          You are on thin ice still but more of this and no bs please.

                          Maybe you might even stop alienating your userbase then

                          1 Reply Last reply
                          0
                          • hrw@society.oftrolls.comH hrw@society.oftrolls.com

                            @firefoxwebdevs

                            Finally... When WebUSB so I would not need Chromium to configure keyboard?

                            cyon@ennexis.deC This user is from outside of this forum
                            cyon@ennexis.deC This user is from outside of this forum
                            cyon@ennexis.de
                            wrote last edited by
                            #17

                            @hrw @firefoxwebdevs
                            No they really need to focus on AI Slop and soccer and weather widget that appear without consent first

                            1 Reply Last reply
                            0
                            • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

                              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:

                              mav@masto.hackers.townM This user is from outside of this forum
                              mav@masto.hackers.townM This user is from outside of this forum
                              mav@masto.hackers.town
                              wrote last edited by
                              #18

                              @firefoxwebdevs ok, this is actually great news.

                              1 Reply Last reply
                              0
                              • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

                                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:

                                tasket@infosec.exchangeT This user is from outside of this forum
                                tasket@infosec.exchangeT This user is from outside of this forum
                                tasket@infosec.exchange
                                wrote last edited by
                                #19

                                @firefoxwebdevs not a security nightmare at all...

                                /s

                                niutech@fosstodon.orgN 1 Reply Last reply
                                0
                                • tasket@infosec.exchangeT tasket@infosec.exchange

                                  @firefoxwebdevs not a security nightmare at all...

                                  /s

                                  niutech@fosstodon.orgN This user is from outside of this forum
                                  niutech@fosstodon.orgN This user is from outside of this forum
                                  niutech@fosstodon.org
                                  wrote last edited by
                                  #20

                                  @tasket @firefoxwebdevs How exactly is it a security nightmare when it needs explicit user consent?

                                  tasket@infosec.exchangeT 1 Reply Last reply
                                  0
                                  • niutech@fosstodon.orgN niutech@fosstodon.org

                                    @tasket @firefoxwebdevs How exactly is it a security nightmare when it needs explicit user consent?

                                    tasket@infosec.exchangeT This user is from outside of this forum
                                    tasket@infosec.exchangeT This user is from outside of this forum
                                    tasket@infosec.exchange
                                    wrote last edited by
                                    #21

                                    @niutech How many users understand what is being asked of them?

                                    How much will these prompts proliferate?

                                    1 Reply Last reply
                                    0
                                    • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

                                      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:

                                      silverwizard@convenient.emailS This user is from outside of this forum
                                      silverwizard@convenient.emailS This user is from outside of this forum
                                      silverwizard@convenient.email
                                      wrote last edited by
                                      #22
                                      @firefoxwebdevs WHAT THE FUCK! STOP FUCKING COPYING CHROME'S HELLSCAPE NIGHTMARES!
                                      1 Reply Last reply
                                      0
                                      • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

                                        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:

                                        hisold@toot.ioH This user is from outside of this forum
                                        hisold@toot.ioH This user is from outside of this forum
                                        hisold@toot.io
                                        wrote last edited by
                                        #23

                                        @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@mastodon.socialF 1 Reply Last reply
                                        0
                                        • hisold@toot.ioH hisold@toot.io

                                          @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@mastodon.socialF This user is from outside of this forum
                                          firefoxwebdevs@mastodon.socialF This user is from outside of this forum
                                          firefoxwebdevs@mastodon.social
                                          wrote last edited by
                                          #24

                                          @hisold requestPort needs to be called from "user activation", like the click of a button element.

                                          hisold@toot.ioH 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups