domain property

The domain for a cookie.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

This property is read/write.

 

Syntax

JavaScript
object.domain = sDomainsDomain = object.domain

 

Property values

Type: DOMString

The domain for a cookie.

See also

DiagnosticsCookieEntry