Baseline Newly DOM API
api.Navigator.cookieEnabled
Granular MDN Browser Compat Data support history across 14 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Firefox 1
2004-11-09
Core-3 Stability
7,251d (19.9y)
Last: Safari (2024-09-16)
Baseline Feature
Newly
cookieEnabled
Browser Support Timeline
Notes (4)
Firefox: Before Firefox 8,navigator.cookieEnabled would report the wrong result if a site exception was in place for the page on which the check was performed. This has been fixed.Safari, Saf iOS, WV iOS: Returns true even if the browser is set to block cookies if navigator.cookieEnabled is invoked inside a third-party iframe)FF And: Before Firefox for Android 8, navigator.cookieEnabled would report the wrong result if a site exception was in place for the page on which the check was performed. This has been fixed.IE: navigator.cookieEnabled returns true even if the browser is set to block cookies (for example, if the page is in the Restricted sites security zone).Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 1 | 2008-12-11 | Supported |
| Firefox | desktop | 1 | 2004-11-09 | Supported |
| Safari | desktop | 18 | 2024-09-16 | Supported |
| Edge | desktop | 12 | 2015-07-29 | Supported |
| Chrome Android | mobile | 18 | 2012-06-27 | Supported |
| Firefox for Android | mobile | 4 | 2011-03-29 | Supported |
| Safari on iOS | mobile | 18 | 2024-09-16 | Supported |
| WebView Android | mobile | 4.4 | 2013-12-09 | Supported |
| WebView on iOS | mobile | 18 | 2024-09-16 | 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 | 4 | 1997-09-30 | Supported |