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
26 Posts 12 Posters 3 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.
  • 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)?

              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