Easy Tutorial
❮ Prop Element Clienttop Event Frame Onload ❯

Navigator cookieEnabled Property


Definition and Usage

The cookieEnabled property returns a Boolean value. If cookies are enabled in the browser, the property value is true. If cookies are disabled, the value is false.

Syntax


Browser Support

All major browsers support the cookieEnabled property.


Example

Determine if cookies are enabled in the browser:

The output of the above example:


More Examples

This example includes all navigator properties.


❮ Prop Element Clienttop Event Frame Onload ❯