Limited DOM API
api.BeforeUnloadEvent.returnValue
Granular MDN Browser Compat Data support history across 14 tracked browsers.
Specification Area
DOM API
Deprecated
First Core Launch
Firefox 1.5
2005-11-29
Core-3 Stability
6,545d (17.9y)
Last: Chrome (2023-10-31)
Baseline Feature
Limited / Unmapped
Browser Support Timeline
Notes (6)
Chrome: Before Chrome 119, an empty string incorrectly activated the confirmation dialog.Chr And: Before Chrome Android 119, an empty string incorrectly activated the confirmation dialog.WV And: Before WebView Android 119, an empty string incorrectly activated the confirmation dialog.Opera: Before Opera 105, an empty string incorrectly activated the confirmation dialog.Op And: Before Opera Android 79, an empty string incorrectly activated the confirmation dialog.Quest: Before Quest Browser 31.2, an empty string incorrectly activated the confirmation dialog.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 119 | 2023-10-31 | Supported |
| Firefox | desktop | 1.5 | 2005-11-29 | Supported |
| Safari | desktop | 7 | 2013-10-22 | Supported |
| Edge | desktop | 12 | 2015-07-29 | Supported |
| Chrome Android | mobile | 119 | 2023-10-31 | Supported |
| Firefox for Android | mobile | 4 | 2011-03-29 | Supported |
| Safari on iOS | mobile | 7 | 2013-09-18 | Supported |
| WebView Android | mobile | 119 | 2023-10-31 | Supported |
| WebView on iOS | mobile | 7 | 2013-09-18 | Supported |
| Samsung Browser | mobile | 3.0 | 2015-04-10 | Supported |
| Opera | desktop | 105 | 2023-11-14 | Supported |
| Opera Android | mobile | 79 | 2023-12-06 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 31.2 | 2024-01-15 | Supported |
| Internet Explorer | desktop | 9 | 2011-03-14 | Supported |