Baseline Widely DOM API
api.Window.focus_event
Granular MDN Browser Compat Data support history across 14 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Chrome 5
2010-05-25
Core-3 Stability
448d (1.2y)
Last: Firefox (2011-08-16)
Baseline Feature
Widely
Window
Browser Support Timeline
Notes (4)
Firefox: Apart from firing the event onwindow as other browsers do, Firefox also fires the event on the document object. See bug 1228802.Firefox: Before Firefox 24, the interface for this event is a plain Event, not FocusEvent.FF And: Apart from firing the event on window as other browsers do, Firefox for Android also fires the event on the document object. See bug 1228802.FF And: Before Firefox for Android 24, the interface for this event is a plain Event, not FocusEvent.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 5 | 2010-05-25 | Supported |
| Firefox | desktop | 6 | 2011-08-16 | Supported |
| Safari | desktop | 5.1 | 2011-07-20 | Supported |
| Edge | desktop | 12 | 2015-07-29 | Supported |
| Chrome Android | mobile | 18 | 2012-06-27 | Supported |
| Firefox for Android | mobile | 6 | 2011-08-16 | Supported |
| Safari on iOS | mobile | 5 | 2011-10-12 | Supported |
| WebView Android | mobile | 4.4 | 2013-12-09 | Supported |
| WebView on iOS | mobile | 5 | 2011-10-12 | Supported |
| Samsung Browser | mobile | 1.0 | 2013-04-27 | Supported |
| Opera | desktop | ≤12.1 | 2012-11-20 | Supported |
| Opera Android | mobile | ≤12.1 | 2012-10-09 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | 11 | 2013-10-17 | Supported |