aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-05-26 21:48:43 -0400
committerGitHub <noreply@github.com>2021-05-27 09:48:43 +0800
commit217f4d887069de4fe4426b4778a49f85f7986360 (patch)
tree160018fd29315e20ca00403ddf37979383e93418 /files
parent1afd214b4c6ed965b75ece5e8d75febad8bc7c07 (diff)
downloadtranslated-content-217f4d887069de4fe4426b4778a49f85f7986360.tar.gz
translated-content-217f4d887069de4fe4426b4778a49f85f7986360.tar.bz2
translated-content-217f4d887069de4fe4426b4778a49f85f7986360.zip
Fix zh-cn Web/API/PushManager (#996)
* fix zh-cn Web/API/PushManager * oops
Diffstat (limited to 'files')
-rw-r--r--files/zh-cn/web/api/pushmanager/index.html61
1 files changed, 2 insertions, 59 deletions
diff --git a/files/zh-cn/web/api/pushmanager/index.html b/files/zh-cn/web/api/pushmanager/index.html
index 28ba565023..48b05f89d5 100644
--- a/files/zh-cn/web/api/pushmanager/index.html
+++ b/files/zh-cn/web/api/pushmanager/index.html
@@ -13,7 +13,7 @@ tags:
- TopicStub
translation_of: Web/API/PushManager
---
-<p>{{SeeCompatTable}}{{ApiRef("Push API")}}</p>
+<p>{{ApiRef("Push API")}}</p>
<p><a href="/en-US/docs/Web/API/Push_API">Push API</a> 的<code>PushManager</code>接口提供了从第三方服务器接收消息通知的能力。</p>
@@ -91,64 +91,7 @@ navigator.serviceWorker.register('serviceworker.js').then(
<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(42.0)}}</td>
- <td>{{CompatGeckoDesktop(44.0)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</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>Firefox OS</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>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(48)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] Push (and <a href="/en-US/docs/Web/API/Service_Worker_API">Service Workers</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 Extended Support Release</a> (ESR.)</li>
- <li>[2] Push has been enabled by default on Firefox for Android version 48.</li>
-</ul>
+<p>{{Compat("api.PushManager")}}</p>
<h2 id="See_also">See also</h2>