aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/onbeforeinstallprompt/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/window/onbeforeinstallprompt/index.html')
-rw-r--r--files/zh-cn/web/api/window/onbeforeinstallprompt/index.html54
1 files changed, 1 insertions, 53 deletions
diff --git a/files/zh-cn/web/api/window/onbeforeinstallprompt/index.html b/files/zh-cn/web/api/window/onbeforeinstallprompt/index.html
index e2243375f7..9fe0053476 100644
--- a/files/zh-cn/web/api/window/onbeforeinstallprompt/index.html
+++ b/files/zh-cn/web/api/window/onbeforeinstallprompt/index.html
@@ -37,59 +37,7 @@ window.addEventListener("beforeinstallprompt", function(e) {
<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>{{CompatChrome(45.0)}} [1]</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>{{ CompatNo() }}</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Behind the flagchrome://flags/#bypass-app-banner-engagement-checks</p>
+{{Compat("api.Window.onbeforeinstallprompt")}}
<h2 id="规范">规范</h2>