News for hackers. Stuff that matters.
Re:Show HN: A weird thing that detects your pulse from the b... by serious_angel on Saturday March 07, 2026 @09:05PM (#47293594)
In the minified source code, we may see, it uses:

``` try { const l=await navigator.mediaDevices.getUserMedia({audio:!1,video:{facingMode:"user"}}); /* ... */ } catch { this.showError("Could not access webcam. Please check permissions.") } ```

There are alternatives to verify mediaDevices support as https://addpipe.com/getusermedia-examples/

Re:Show HN: A weird thing that detects your pulse from the b... by echoangle on Saturday March 07, 2026 @10:55PM (#47294259)
But even a missing check shouldn’t be able to crash the browser.