--- title: DNT slug: Web/HTTP/Headers/DNT translation_of: Web/HTTP/Headers/DNT ---
DNT
(Do Not Track) 요청 헤더는 사용자의 트래킹 선호 설정을 가르킵니다. 이는 개인화 컨텐츠가 아닌 사생활 정보를 더 It lets users indicate whether would prefer privacy rather than personalized content.
Header type | {{Glossary("Request header")}} |
---|---|
{{Glossary("Forbidden header name")}} | yes |
DNT: 0 DNT: 1
사용자의 DNT 선호 설정은 {{domxref("Navigator.doNotTrack")}} 프로퍼티를 사용해 JavaScript로도 읽을 수 있씁니다:
navigator.doNotTrack; // "0" or "1"
명세 | 상태 | 주석 |
---|---|---|
{{SpecName('Tracking','#dnt-header-field', 'DNT Header Field for HTTP Requests')}} | {{Spec2("Tracking")}} | Initial definition. |
{{Compat}}