Limited DOM API
api.Navigator.vibrate
Granular MDN Browser Compat Data support history across 9 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Chrome 32
2014-01-14
Core-3 Stability
Limbo (4,699d (12.9y))
Baseline Feature
Limited / Unmapped
Vibration
Browser Support Timeline
Notes (10)
Firefox, FF And: Until Firefox 26 included, when the vibration pattern was too long or any of its elements too large, Firefox threw an exception instead of returningfalse (bug 884935).Firefox, FF And: From Firefox 32 onwards, when the vibration pattern is too long or any of its elements too large, it returns true but truncates the pattern (bug 1014581).Firefox: Beginning in Firefox 72, this is not supported in cross-origin iframes.Chr And, Samsung, Quest: Beginning in Chrome 55, this is not supported in cross-origin iframes.Chr And, Samsung, Quest: Beginning in Chrome 60, this method requires a user gesture. Otherwise it returns false.FF And: Vibration is disabled. If the window is visible, then navigator.vibrate() returns true, but no vibration takes place (regardless of hardware support). Originally, the intent was to disable it for cross-origin frames only (bug 1591113), but the feature was not re-enabled due to abuse concerns (bug 1653318).WV And: Beginning in version 55, this is not supported in cross-origin iframes.WV And: Beginning in version 60, this method requires a user gesture. Otherwise it returns false.Op And: Beginning in Opera 42, this is not supported in cross-origin iframes.Op And: Beginning in Opera 47, this method requires a user gesture. Otherwise it returns false.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 32 | 2014-01-14 | Supported |
| Firefox | desktop | — | — | Removed (129) |
| Safari | desktop | — | — | — |
| Edge | desktop | 79 | 2020-01-15 | Supported |
| Chrome Android | mobile | 32 | 2014-01-15 | Supported |
| Firefox for Android | mobile | 79 | 2020-07-28 | Supported |
| Safari on iOS | mobile | — | — | — |
| WebView Android | mobile | 4.4.3 | 2014-06-02 | Supported |
| WebView on iOS | mobile | — | — | — |
| Samsung Browser | mobile | 2.0 | 2014-10-17 | Supported |
| Opera | desktop | 19 | 2014-01-28 | Supported |
| Opera Android | mobile | 19 | 2014-01-28 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | — | — | — |