msDoNotTrack property
Returns a BSTR indicating whether the user set a preference not to be tracked .
![]() |
Syntax
HRESULT value = object.get_msDoNotTrack(* p);
Property values
Type: BSTR
the return value.
Standards information
- Web Tracking Protection, Section 6
Remarks
When the Do Not Track user preference is set on a document, INavigatorDoNotTrack::msDoNotTrack returns TRUE.
document.navigator.msDoNotTrack == "1"
Show:
