aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/pushevent
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/pushevent
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/pushevent')
-rw-r--r--files/ja/web/api/pushevent/data/index.html59
-rw-r--r--files/ja/web/api/pushevent/pushevent/index.html79
2 files changed, 2 insertions, 136 deletions
diff --git a/files/ja/web/api/pushevent/data/index.html b/files/ja/web/api/pushevent/data/index.html
index e80894ee52..27d42a6a80 100644
--- a/files/ja/web/api/pushevent/data/index.html
+++ b/files/ja/web/api/pushevent/data/index.html
@@ -73,64 +73,7 @@ translation_of: Web/API/PushEvent/data
<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>{{CompatNo}}</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>{{CompatNo}}</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.PushEvent.data")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/pushevent/pushevent/index.html b/files/ja/web/api/pushevent/pushevent/index.html
index db1bac9c97..46bb5b774f 100644
--- a/files/ja/web/api/pushevent/pushevent/index.html
+++ b/files/ja/web/api/pushevent/pushevent/index.html
@@ -64,84 +64,7 @@ myPushEvent.data.text(); // 'Some sample text' を返す</pre>
<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][2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>data</code> プロパティ</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(44.0)}}<sup>[2]</sup></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>機能</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>[3]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- <tr>
- <td><code>data</code> プロパティ</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(48)}}<sup>[3]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] 現在、Nightly/Developer エディション/Beta で既定で使用できますが、リリースチャネルでは使用できません。({{bug(1207875)}}。)</li>
- <li>[2] 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>[3] Firefox for Android 48 から、既定で Push を使用できます。</li>
-</ul>
+<p>{{Compat("api.PushEvent.PushEvent")}}</p>
<h2 id="関連項目">関連項目</h2>