Export (0) Print
Expand All

msDoNotTrack property

Returns a String indicating whether the user set a preference not to be tracked .

Internet Explorer 9

Syntax

JavaScript

p = object.msDoNotTrack

Property values

Type: String

the return value.

Standards information

Remarks

When the Do Not Track user preference is set on a document, msDoNotTrack returns true.


document.navigator.msDoNotTrack == "1"

See also

navigator

 

 

Show:
© 2014 Microsoft