aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/glossary/
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
commit310fd066e91f454b990372ffa30e803cc8120975 (patch)
treed5d900deb656a5da18e0b60d00f0db73f3a2e88e /files/zh-cn/glossary/源
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.gz
translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.bz2
translated-content-310fd066e91f454b990372ffa30e803cc8120975.zip
unslug zh-cn: move
Diffstat (limited to 'files/zh-cn/glossary/源')
-rw-r--r--files/zh-cn/glossary/源/index.html52
1 files changed, 0 insertions, 52 deletions
diff --git a/files/zh-cn/glossary/源/index.html b/files/zh-cn/glossary/源/index.html
deleted file mode 100644
index 83090ee98f..0000000000
--- a/files/zh-cn/glossary/源/index.html
+++ /dev/null
@@ -1,52 +0,0 @@
----
-title: Origin
-slug: Glossary/源
-translation_of: Glossary/Origin
----
-<p>Web内容的源由用于访问它的{{Glossary("URL")}} 的方案(协议),主机(域名)和端口定义。只有当方案,主机和端口都匹配时,两个对象具有相同的起源。</p>
-
-<p>某些操作仅限于同源内容,而可以使用 <a href="/zh-CN/docs/Glossary/CORS">CORS</a> 解除这个限制。</p>
-
-<h2 id="同源的例子">同源的例子</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <td style="width: 50%;"><code>http://example.com/app1/index.html</code><br>
- <code>http://example.com/app2/index.html</code></td>
- <td style="width: 50%;">same origin because same scheme (<code>http</code>) and host (<code>example.com</code>)</td>
- </tr>
- <tr>
- <td style="width: 50%;"><code>http://Example.com:80</code><br>
- <code>http://example.com</code></td>
- <td style="width: 50%;">same origin because a server delivers HTTP content through port 80 by default</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="不同源的例子">不同源的例子</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <td style="width: 50%;"><code>http://example.com/app1</code><br>
- <code>https://example.com/app2</code></td>
- <td>different schemes</td>
- </tr>
- <tr>
- <td style="width: 50%;"><code>http://example.com</code><br>
- <code>http://www.example.com</code><br>
- <code>http://myapp.example.com</code></td>
- <td style="width: 50%;">different hosts</td>
- </tr>
- <tr>
- <td style="width: 50%;"><code>http://example.com</code><br>
- <code>http://example.com:8080</code></td>
- <td style="width: 50%;">different ports</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="了解更多">了解更多</h2>
-
-<p>详细信息,请看<a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Same_origin_policy_for_JavaScript" title="/en-US/docs/Web/JavaScript/Same_origin_policy_for_JavaScript">同源策略</a>。</p>