diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:43:23 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:43:23 -0500 |
commit | 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (patch) | |
tree | a9ef8ac1e1b8fe4207b6d64d3841bfb8990b6fd0 /files/zh-tw/glossary/document_directive | |
parent | 074785cea106179cb3305637055ab0a009ca74f2 (diff) | |
download | translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.gz translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.tar.bz2 translated-content-218934fa2ed1c702a6d3923d2aa2cc6b43c48684.zip |
initial commit
Diffstat (limited to 'files/zh-tw/glossary/document_directive')
-rw-r--r-- | files/zh-tw/glossary/document_directive/index.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/files/zh-tw/glossary/document_directive/index.html b/files/zh-tw/glossary/document_directive/index.html new file mode 100644 index 0000000000..3aa32cfdaa --- /dev/null +++ b/files/zh-tw/glossary/document_directive/index.html @@ -0,0 +1,35 @@ +--- +title: Document directive +slug: Glossary/Document_directive +tags: + - 指令 + - 術語表 +translation_of: Glossary/Document_directive +--- +<p><strong>{{Glossary("CSP")}} 文件指令</strong> 被用在 {{HTTPHeader("Content-Security-Policy")}} 頭部和管理應用策略的文件或<a href="/en-US/docs/Web/API/Web_Workers_API">工作者</a>環境的屬性。</p> + +<p>文件指令不會回退到 {{CSP("default-src")}} 指令。</p> + +<p>這些 CSP 指令是文件指令:</p> + +<ul> + <li>{{CSP("base-uri")}}</li> + <li>{{CSP("plugin-types")}}</li> + <li>{{CSP("sandbox")}}</li> + <li>{{CSP("disown-opener")}}</li> +</ul> + +<h2 id="了解更多">了解更多</h2> + +<h3 id="技術資訊">技術資訊</h3> + +<ul> + <li>{{HTTPHeader("Content-Security-Policy")}}</li> + <li>其他類型的指令: + <ul> + <li>{{Glossary("Fetch directive")}}</li> + <li>{{Glossary("Navigation directive")}}</li> + <li>{{Glossary("Reporting directive")}}</li> + </ul> + </li> +</ul> |