Bluetooth over a browser uses the Web Bluetooth specification, and having the user select the bluetooth device is a security feature. Imagine you have a bluetooth device that contains information about you (like a watch) then a scammer asks you to visit a page that would try to connect to a bluetooth device around without that UI popping up.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Bluetooth over a browser uses the Web Bluetooth specification, and having the user select the bluetooth device is a security feature. Imagine you have a bluetooth device that contains information about you (like a watch) then a scammer asks you to visit a page that would try to connect to a bluetooth device around without that UI popping up.
See also https://stackoverflow.com/a/54149101