aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/http/headers/dnt/index.html
blob: ce5f0d3447b4e40debea463c7374adfe23ff5848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
title: DNT
slug: Web/HTTP/Headers/DNT
translation_of: Web/HTTP/Headers/DNT
---
<div>{{HTTPSidebar}}</div>

<p><strong><code>DNT</code></strong> (<strong>D</strong>o <strong>N</strong>ot <strong>T</strong>rack) 요청 헤더는 사용자의 트래킹 선호 설정을 가르킵니다. 이는 개인화 컨텐츠가 아닌 사생활 정보를 더 It lets users indicate whether would prefer privacy rather than personalized content.</p>

<table class="properties">
 <tbody>
  <tr>
   <th scope="row">Header type</th>
   <td>{{Glossary("Request header")}}</td>
  </tr>
  <tr>
   <th scope="row">{{Glossary("Forbidden header name")}}</th>
   <td>yes</td>
  </tr>
 </tbody>
</table>

<h2 id="문법">문법</h2>

<pre class="syntaxbox">DNT: 0
DNT: 1
</pre>

<h2 id="디렉티브">디렉티브</h2>

<dl>
 <dt>0</dt>
 <dd>사용자가 대상 사이트에 대해 트래킹을 허용하는 것을 말합니다.</dd>
 <dt>1</dt>
 <dd>사용자가 대상 사이트에 대해 트래킹을 원하지 않는 것을 말합니다.</dd>
</dl>

<h2 id="예제">예제</h2>

<h3 id="JavaScript를_통해_Do_Not_Track_상태_읽기">JavaScript를 통해 Do Not Track 상태 읽기</h3>

<p>사용자의 DNT 선호 설정은 {{domxref("Navigator.doNotTrack")}} 프로퍼티를 사용해 JavaScript로도 읽을 수 있씁니다:</p>

<pre class="brush: js">navigator.doNotTrack; // "0" or "1"</pre>

<h2 id="명세서">명세서</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">명세</th>
   <th scope="col">상태</th>
   <th scope="col">주석</th>
  </tr>
  <tr>
   <td>{{SpecName('Tracking','#dnt-header-field', 'DNT Header Field for HTTP Requests')}}</td>
   <td>{{Spec2("Tracking")}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<h2 id="브라우저_호환성">브라우저 호환성</h2>

<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>

<p>{{Compat}}</p>

<h2 id="함께_참고할_내용">함께 참고할 내용</h2>

<ul>
 <li>{{domxref("Navigator.doNotTrack")}}</li>
 <li>{{HTTPHeader("Tk")}} header</li>
 <li><a href="https://en.wikipedia.org/wiki/Do_Not_Track">Do Not Track on Wikipedia</a></li>
 <li><a href="https://www.eff.org/deeplinks/2011/02/what-does-track-do-not-track-mean">What Does the "Track" in "Do Not Track" Mean? – EFF</a></li>
 <li><a href="http://donottrack.us/">donottrack.us</a></li>
 <li>DNT browser settings help:
  <ul>
   <li><a href="https://www.mozilla.org/en-US/firefox/dnt/">Firefox</a></li>
   <li><a href="https://support.google.com/chrome/answer/2790761">Chrome</a></li>
  </ul>
 </li>
</ul>