aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/url/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/api/url/index.html')
-rw-r--r--files/zh-tw/web/api/url/index.html106
1 files changed, 1 insertions, 105 deletions
diff --git a/files/zh-tw/web/api/url/index.html b/files/zh-tw/web/api/url/index.html
index 0a7fdb670b..db2d02126a 100644
--- a/files/zh-tw/web/api/url/index.html
+++ b/files/zh-tw/web/api/url/index.html
@@ -98,111 +98,7 @@ translation_of: Web/API/URL
<h2 id="瀏覽器相容性">瀏覽器相容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</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><br>
- 32</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}<sup>[1][3]</sup><br>
- {{CompatGeckoDesktop("19.0")}}</td>
- <td>10.0</td>
- <td>15.0<sup>[2]</sup><br>
- 19</td>
- <td>6.0<sup>[2]</sup><br>
- 7.0</td>
- </tr>
- <tr>
- <td><code>username</code>, <code>password</code>, and <code>origin</code></td>
- <td>32</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("26.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>19</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>searchParams</code></td>
- <td>{{CompatChrome(49)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("29.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>36</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for 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>4<sup>[2]</sup><br>
- 4.4</td>
- <td>8.0<sup>[2]</sup><br>
- 32</td>
- <td>{{CompatGeckoMobile("14.0")}}<sup>[1][3]</sup><br>
- {{CompatGeckoMobile("19.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>15.0<sup>[2]</sup></td>
- <td>6.0<sup>[2]</sup></td>
- </tr>
- <tr>
- <td><code>username</code>, <code>password</code>, and <code>origin</code></td>
- <td>4.4</td>
- <td>32</td>
- <td>{{CompatGeckoDesktop("26.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>searchParams</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49)}}</td>
- <td>{{CompatGeckoMobile("29.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] From Gecko 2 (Firefox 4) to Gecko 18 included, Gecko supported this interface with the non-standard <code>nsIDOMMozURLProperty</code> internal type. As the only to access such an object was through {{domxref("window.URL")}}, in practice, this didn't make any difference.</p>
-
-<p>[2] This feature is implemented under the non-standard name <code>webkitURL</code>.</p>
-
-<p>[3] For Firefox, to use from chrome code, JSM and Bootstrap scope, you have to import it like this:</p>
-
-<pre class="brush: js">Cu.importGlobalProperties(['URL']);
-</pre>
-
-<p><code>URL</code> is available in Worker scopes.</p>
+{{Compat("api.URL")}}
<h2 id="參見">參見</h2>