api.Navigator.cookieEnabled

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 1 on 2008-12-11

In Chrome Android version 18 on 2012-06-27

In Edge version 12 on 2015-07-29

In Firefox version 1 on 2004-11-09 Note: 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.

In Firefox for Android version 4 on 2011-03-29 Note: 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.

In Internet Explorer version 4 on 1997-09-30 Note: 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).

Not in Node.js

In Quest Browser version 5.0 on undefined

In Opera version ≤12.1 on undefined

In Opera Android version ≤12.1 on undefined

In Safari version 18 on 2024-09-16 Note: Returns true even if the browser is set to block cookies if navigator.cookieEnabled is invoked inside a third-party iframe)

In Safari on iOS version 18 on 2024-09-16 Note: Returns true even if the browser is set to block cookies if navigator.cookieEnabled is invoked inside a third-party iframe)

In Samsung Internet version 1.0 on 2013-04-27

In WebView Android version 4.4 on 2013-12-09

In WebView on iOS version 18 on 2024-09-16 Note: Returns true even if the browser is set to block cookies if navigator.cookieEnabled is invoked inside a third-party iframe)