aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/location/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/location/index.html')
-rw-r--r--files/zh-cn/web/api/location/index.html112
1 files changed, 1 insertions, 111 deletions
diff --git a/files/zh-cn/web/api/location/index.html b/files/zh-cn/web/api/location/index.html
index 7ab82cf7fa..5b383f066f 100644
--- a/files/zh-cn/web/api/location/index.html
+++ b/files/zh-cn/web/api/location/index.html
@@ -96,117 +96,7 @@ console.log(url.origin); // https://developer.mozilla.org
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>origin</code> on <code>Windows.location</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("21")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>origin</code> on all <code>location</code> objects (but on Workers, that use {{domxref("WorkerLocation")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("26")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>username</code> and <code>password</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("26")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>searchParams</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("34")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</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 Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>origin</code> on <code>Windows.location</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("21")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>origin</code> on all <code>location</code> objects (but on Workers, that use {{domxref("WorkerLocation")}})</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("26")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>username</code> and <code>password</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("26")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>searchParams</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("34")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Location")}}
<h2 id="另见">另见</h2>