browsersays

navigator.requestMIDIAccess

Web MIDI asks for musical instrument devices, which are individually identifying. Why this one is different from the rest of the group, and what it lists.

Checking the browser you are reading this in…

Entry in question 5: What it can plug into

What it is

The Web MIDI entry point. It returns an object listing your MIDI inputs and outputs so a page can send notes to a synthesiser or read them from a keyboard.

What a site can do with it

This is the member of the group that behaves least like the others. Where the USB, HID and serial choosers make you pick one device, a granted MIDI permission lists all of them at once, with manufacturer and model names attached. A set of instrument names is unusual and stable, which makes it identifying in a way a single chosen device is not.

Check it yourself

Open your browser's developer tools, go to the console, and paste this. Nothing is sent anywhere; the answer comes from the browser you are reading this in.

typeof navigator.requestMIDIAccess

The full path recorded by the walk is navigator.requestMIDIAccess, and that is the string the leaflet prints beside this entry.

What the answer is on an ordinary browser

Written by hand for each of the three engines, because a table generated from one sentence would be worth nothing to the person reading it.

Chrome
Present from Chrome 43. Access without the ability to send system-exclusive messages historically needed no prompt; current versions prompt in more cases.
Firefox
Present from Firefox 108, always behind a permission prompt.
Safari
Absent.

If your browser is not present, the leaflet prints this instead of dimming the line: Not present. Sites asking for MIDI devices get nothing back.

Where it sits in the leaflet

This is one of 6 entries in question 5, what it can plug into. The leaflet reads all 42 entries in one press and prints each answer beside the question, with the property name next to it so you can check any line.

Read my browser · navigator.serial · navigator.bluetooth