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.
  • 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
                  • firefoxwebdevs@mastodon.socialF firefoxwebdevs@mastodon.social

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

                    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
                    #25

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

                      @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@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
                      #26

                      @hisold and you're definitely on Firefox 151 (desktop)?

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

                        @hisold and you're definitely on Firefox 151 (desktop)?

                        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
                        #27

                        @firefoxwebdevs 151.0 (64-Bit) on the worst operating system of our time: windows.

                        gregstoll@techhub.socialG 1 Reply Last reply
                        0
                        • hisold@toot.ioH hisold@toot.io

                          @firefoxwebdevs 151.0 (64-Bit) on the worst operating system of our time: windows.

                          gregstoll@techhub.socialG This user is from outside of this forum
                          gregstoll@techhub.socialG This user is from outside of this forum
                          gregstoll@techhub.social
                          wrote last edited by
                          #28

                          @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/ )

                          gregstoll@techhub.socialG 1 Reply Last reply
                          0
                          • gregstoll@techhub.socialG gregstoll@techhub.social

                            @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/ )

                            gregstoll@techhub.socialG This user is from outside of this forum
                            gregstoll@techhub.socialG This user is from outside of this forum
                            gregstoll@techhub.social
                            wrote last edited by
                            #29

                            @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!

                            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:

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

                              @firefoxwebdevs This is a great kit t-shirt, it seems to not be on the mozilla spreadshop, is this available somewhere?

                              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