JavaScript: What mobile browsers can do - 2020 revisited
summary
Live demo revisits 2018 showcase and enumerates which mobile browsers actually implement specific device APIs: navigator.getBattery works on Chrome but not Safari; Generic Sensor API (accelerometer, gyroscope, magnetometer, ambient light) runs on Chrome/Opera and often requires feature flags; navigator.wakeLock and Idle Detection are Chrome-only (flagged), Web Bluetooth and Gamepad connect on Chrome, camera via MediaDevices is broadly available, Web Share works on mobile, vibration requires user input. Demo aggregates ~100 attendees, ~50% Android, ~20 iOS, and many features remain behind flags or blocked by Safari for privacy.
AI-written summary · about
chapters (12)
- 0:00Introduction and motivation
- 3:27HTML5 capabilities overview
- 7:01Battery status API demo
- 9:50Device sensors APIs
- 19:59Screen wake lock API
- 23:37Idle detection API
- 25:45Bluetooth and gamepad APIs
- 29:47Camera and media devices
- 30:53Vibration and share APIs
- 34:06Summary of tested features
- 37:44Privacy and security considerations
- 40:57Final thoughts and resources








