aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/conflicting/web/api/url/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/conflicting/web/api/url/index.html')
-rw-r--r--files/zh-cn/conflicting/web/api/url/index.html106
1 files changed, 0 insertions, 106 deletions
diff --git a/files/zh-cn/conflicting/web/api/url/index.html b/files/zh-cn/conflicting/web/api/url/index.html
deleted file mode 100644
index 3245250d9c..0000000000
--- a/files/zh-cn/conflicting/web/api/url/index.html
+++ /dev/null
@@ -1,106 +0,0 @@
----
-title: Window.URL
-slug: conflicting/Web/API/URL
-tags:
- - Window.URL
-translation_of: Web/API/URL
-translation_of_original: Web/API/Window/URL
-original_slug: Web/API/Window/URL
----
-<p>{{ApiRef("Window")}}{{SeeCompatTable}}</p>
-
-<p><strong>Window.URL</strong> 属性返回一个对象,它提供了用于创建和管理对象URLs的静态方法。它也可以作为一个构造函数被调用来构造 {{domxref("URL")}} 对象。</p>
-
-<div class="note">
-<p>Note: 此功能在Web Workers中可用。</p>
-</div>
-
-<h2 id="语法">语法</h2>
-
-<p>调用一个静态方法:</p>
-
-<pre class="syntaxbox"><code><var>img</var>.src = URL.{{domxref("URL.createObjectURL", "createObjectURL")}}(<var>blob</var>);</code></pre>
-
-<p>构造一个新对象:</p>
-
-<pre class="syntaxbox"><code>var <var>url</var> = new {{domxref("URL.URL", "URL")}}("../cats/", "https://www.example.com/dogs/");</code></pre>
-
-<h2 id="规范">规范</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('URL', '#dom-url', 'URL')}}</td>
- <td>{{Spec2('URL')}}</td>
- <td>Initial definition</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>8.0<sup>[2]</sup></td>
- <td>{{CompatGeckoDesktop("2.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("19.0")}}</td>
- <td>10.0</td>
- <td>15.0<sup>[2]</sup></td>
- <td>6.0<sup>[2]</sup><br>
- 7.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{CompatGeckoMobile("14.0")}}<sup>[1]</sup><br>
- {{CompatGeckoMobile("19.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>15.0<sup>[2]</sup></td>
- <td>6.0<sup>[2]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 从 Gecko 2 (Firefox 4) 到 包括Gecko 18, Gecko 返回一个不标准的nsIDOMMozURLProperty内部类型. 在实践中, 这是没有意义的.</p>
-
-<p>[2] 在非标准名称webkitURL下实现。</p>
-
-<h2 id="也可以看看">也可以看看</h2>
-
-<ul>
- <li>{{domxref("URL")}} API.</li>
-</ul>