aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/pushmanager
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2021-03-30 18:22:36 +0900
committerGitHub <noreply@github.com>2021-03-30 18:22:36 +0900
commit8e33c52f809796c68a683ad343f37ee4e7ce4616 (patch)
tree8173bf5eaf5c192eb2487efe37c7b74997800898 /files/ja/web/api/pushmanager
parent8ea157f6b6fbef9c60695918c6a6382677e5b5df (diff)
downloadtranslated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.tar.gz
translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.tar.bz2
translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.zip
Migrate CompatibilityTable to Compat macro (lang-ja) (#356)
* Migrate to Compat macro (ja/mozilla/add-ons/webextensions) * Migrate to Compat macro (ja/web/api)
Diffstat (limited to 'files/ja/web/api/pushmanager')
-rw-r--r--files/ja/web/api/pushmanager/getsubscription/index.html59
-rw-r--r--files/ja/web/api/pushmanager/permissionstate/index.html59
2 files changed, 2 insertions, 116 deletions
diff --git a/files/ja/web/api/pushmanager/getsubscription/index.html b/files/ja/web/api/pushmanager/getsubscription/index.html
index d2fabe1b86..c2fcba99aa 100644
--- a/files/ja/web/api/pushmanager/getsubscription/index.html
+++ b/files/ja/web/api/pushmanager/getsubscription/index.html
@@ -83,64 +83,7 @@ translation_of: Web/API/PushManager/getSubscription
<h2 id="ブラウザ実装状況">ブラウザ実装状況</h2>
-<div>{{CompatibilityTable}}</div>
-
-<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>基本サポート</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>機能</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>基本サポート</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(と <a href="/en-US/docs/Web/API/Service_Worker_API">Service Workers</a>)は、 have been disabled in the <a href="https://www.mozilla.org/ja/firefox/organizations/">Firefox 45 延長サポート版</a> (ESR)では使用できません。</li>
- <li>[2] Firefox for Android 48 から、既定で Push を使用できます。</li>
-</ul>
+<p>{{Compat("api.PushManager.getSubscription")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/pushmanager/permissionstate/index.html b/files/ja/web/api/pushmanager/permissionstate/index.html
index de1da36a9c..12fad5db6a 100644
--- a/files/ja/web/api/pushmanager/permissionstate/index.html
+++ b/files/ja/web/api/pushmanager/permissionstate/index.html
@@ -58,64 +58,7 @@ translation_of: Web/API/PushManager/permissionState
<h2 id="ブラウザ実装状況">ブラウザ実装状況</h2>
-<div>{{CompatibilityTable}}</div>
-
-<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>基本サポート</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>機能</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>基本サポート</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(と <a href="/ja/docs/Web/API/Service_Worker_API">Service Workers</a>) は、<a href="https://www.mozilla.org/ja/firefox/organizations/">Firefox 45 延長サポート版</a>(ESR)では使用できません。</li>
- <li>[2] Firefox for Android 48 から、既定で Push を使用できます。</li>
-</ul>
+<p>{{Compat("api.PushManager.permissionState")}}</p>
<h2 id="関連項目">関連項目</h2>