4 ms·
Haptics were part of the web spec but scammers abused them (making the phone vibrate to simulate a virus alert or whatever) so the feature got disabled in most
by jeroenhd 4y ago
Haptics were part of the web spec but scammers abused them (making the phone vibrate to simulate a virus alert or whatever) so the feature got disabled in most browsers I believe.
It's officially supported on all platforms except for Safari (big surprise there) but for browsers supposedly supporting the spec on MDN (https://developer.mozilla.org/en-US/docs/Web/API/VIBRATION_API https://developer.mozilla.org/en-US/docs/Web/API/VIBRATION_A...) I'm not getting any vibrations our of demo pages I can find online.
Edit: actually, it only seems broken in Firefox and Bromite now, Chrome still has vibration support. Firefox seems to have lost vibration somewhere during development of the rewrite that also took away most addons, so I'm sure it'll be a few years before this bug gets fixed.
Still, with Chrome supported, that's the majority of mobile devices out there fully supporting vibration patterns!
- pjmlp 4y agoIt works just fine on Android browsers. https://whatwebcando.today/ https://whatwebcando.today/
- jeroenhd 4y agoYou're right, it'll work for most users. It's still bugged on Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1653318 https://bugzilla.mozilla.org/show_bug.cgi?id=1653318 and also on Bromite on my phone, which is why I thought Chrome also disabled the feature.
- villgax 4y agoDidn't work on Chrome113 or Brave on Android 13
- pjmlp 4y agoIt surely does on my phone, using Android 13 with Chrome on a Samsung device.