Re:TIL: You can access a user’s camera with just HTML
by naillo on Tuesday September 06, 2022 @12:49PM
(#32739737)
Old enough to remember when the accelerometer didn't require permission to access.
[ Parent
| on HN ]
Re:TIL: You can access a user’s camera with just HTML
by codethief on Tuesday September 06, 2022 @01:48PM
(#32740525)
Me too but I'm glad it does now and I don't have fear (web) apps that exploit the accelerometer as microphone.
Re:TIL: You can access a user’s camera with just HTML
by adrr on Tuesday September 06, 2022 @02:57PM
(#32741573)
It was useful an API to detect if a client was faking their user agent or was a bot. When I worked for a neo bank we abuse all the APIs to detect if client was a real person or not without having to use captchas.
Re:TIL: You can access a user’s camera with just HTML
by dheera on Tuesday September 06, 2022 @12:56PM
(#32739846)
Yeah you could use the vibration API and accelerometer API as a very low bitrate TX/RX system for devices on the same table and close enough.
No permissions required.
Re:TIL: You can access a user’s camera with just HTML
by chrisweekly on Tuesday September 06, 2022 @01:25PM
(#32740218)
I vaguely recall there being some early-days accelerometer-based webapps that absolutely destroyed batteries, because the high-resolution accelerometer checks required responsible throttling / debouncing. So gating it behind permissions makes some sense to me.