TOC PREV NEXT INDEX

Put your logo here!


window.navigator.cookieEnabled


Returns a boolean value indicating whether cookies are enabled or not.

Syntax

res = window.navigator.cookieEnabled 

Parameters

res is a boolean True or False.

Example

if (window.navigator.cookieEnabled) { 
  // set a cookie 
} 

Notes

None.

Specification

DOM Level 0. Not part of specification. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX