aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/networkinformation
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/networkinformation')
-rw-r--r--files/zh-cn/web/api/networkinformation/downlink/index.html70
-rw-r--r--files/zh-cn/web/api/networkinformation/index.html62
-rw-r--r--files/zh-cn/web/api/networkinformation/rtt/index.html67
3 files changed, 3 insertions, 196 deletions
diff --git a/files/zh-cn/web/api/networkinformation/downlink/index.html b/files/zh-cn/web/api/networkinformation/downlink/index.html
index 8b3e902217..2e62063b3c 100644
--- a/files/zh-cn/web/api/networkinformation/downlink/index.html
+++ b/files/zh-cn/web/api/networkinformation/downlink/index.html
@@ -34,72 +34,4 @@ translation_of: Web/API/NetworkInformation/downlink
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<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 (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(48)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(48)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(38)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(37)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(38)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(37)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NetworkInformation.downlink")}}
diff --git a/files/zh-cn/web/api/networkinformation/index.html b/files/zh-cn/web/api/networkinformation/index.html
index a78634c7ed..2d4cfeb785 100644
--- a/files/zh-cn/web/api/networkinformation/index.html
+++ b/files/zh-cn/web/api/networkinformation/index.html
@@ -63,67 +63,7 @@ translation_of: Web/API/NetworkInformation
<h2 id="Browser_compatibility">Browser compatibility</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>20 {{property_prefix("webkit")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</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>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(31)}} {{property_prefix("moz")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(53)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NetworkInformation")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/networkinformation/rtt/index.html b/files/zh-cn/web/api/networkinformation/rtt/index.html
index 94f0815718..fd82a4a94c 100644
--- a/files/zh-cn/web/api/networkinformation/rtt/index.html
+++ b/files/zh-cn/web/api/networkinformation/rtt/index.html
@@ -38,69 +38,4 @@ translation_of: Web/API/NetworkInformation/rtt
<h2 id="Browser_compatibility">Browser compatibility</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>{{CompatChrome(61)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(48)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(48)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</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>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(38)}}</td>
- <td>{{CompatGeckoMobile("31")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(37)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(38)}}</td>
- <td>{{CompatGeckoMobile("53")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(37)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NetworkInformation.rtt")}}