JavaScript Reference/Javascript Properties/cookieEnabled
Содержание
"cookieEnabled" Example
<source lang="javascript">
<html> <body> <button onClick="alert(navigator.cookieEnabled);">Are Cookies Enabled</button> </body> </html>
</source>
"cookieEnabled" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |clientInformation navigator | +----------------+--------------------------------------------------------------+
</source>
"cookieEnabled" Possible Values
<source lang="javascript">
Possible Values true false.
</source>
"cookieEnabled" Syntax and Note
<source lang="javascript">
Note: Read-only property. Are cookies enabled.
Syntax:
objectName.cookieEnabled
</source>