aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/request
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/request
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/request')
-rw-r--r--files/ja/web/api/request/clone/index.html59
-rw-r--r--files/ja/web/api/request/credentials/index.html59
-rw-r--r--files/ja/web/api/request/headers/index.html59
-rw-r--r--files/ja/web/api/request/method/index.html59
-rw-r--r--files/ja/web/api/request/referrer/index.html59
-rw-r--r--files/ja/web/api/request/url/index.html59
6 files changed, 6 insertions, 348 deletions
diff --git a/files/ja/web/api/request/clone/index.html b/files/ja/web/api/request/clone/index.html
index 4bd0afd359..8b5e3a185a 100644
--- a/files/ja/web/api/request/clone/index.html
+++ b/files/ja/web/api/request/clone/index.html
@@ -55,64 +55,7 @@ var newRequest = myRequest.clone(); // リクエストのコピーが newRequest
<h2 id="ブラウザ実装状況">ブラウザ実装状況</h2>
-<p>{{CompatibilityTable}}</p>
-
-<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)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</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>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] この機能は選択によって使えるようになります。</p>
+<p>{{Compat("api.Request.clone")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/request/credentials/index.html b/files/ja/web/api/request/credentials/index.html
index f9890d00dc..1960e1513e 100644
--- a/files/ja/web/api/request/credentials/index.html
+++ b/files/ja/web/api/request/credentials/index.html
@@ -55,64 +55,7 @@ var myCred = myRequest.credentials; // 既定では "omit" を返す。</pre>
<h2 id="ブラウザ実装状況">ブラウザ実装状況</h2>
-<p>{{CompatibilityTable}}</p>
-
-<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)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</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>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] この機能は設定によって使えるようになります。</p>
+<p>{{Compat("api.Request.credentials")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/request/headers/index.html b/files/ja/web/api/request/headers/index.html
index d5760737fc..857fc49218 100644
--- a/files/ja/web/api/request/headers/index.html
+++ b/files/ja/web/api/request/headers/index.html
@@ -63,64 +63,7 @@ myContentType = myRequest.headers.get('Content-Type'); // 'image/jpeg' を返す
<h2 id="ブラウザ実装状況">ブラウザ実装状況</h2>
-<p>{{CompatibilityTable}}</p>
-
-<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)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</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>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] この機能は設定によって使えるようになります。</p>
+<p>{{Compat("api.Request.headers")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/request/method/index.html b/files/ja/web/api/request/method/index.html
index 45f4b65ba4..4f17e9ec6f 100644
--- a/files/ja/web/api/request/method/index.html
+++ b/files/ja/web/api/request/method/index.html
@@ -48,64 +48,7 @@ var myMethod = myRequest.method; // GET</pre>
<h2 id="ブラウザ実装状況">ブラウザ実装状況</h2>
-<p>{{CompatibilityTable}}</p>
-
-<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)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</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>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] この機能は設定によって使えるようになります。</p>
+<p>{{Compat("api.Request.method")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/request/referrer/index.html b/files/ja/web/api/request/referrer/index.html
index c93461339c..84de8b1bd9 100644
--- a/files/ja/web/api/request/referrer/index.html
+++ b/files/ja/web/api/request/referrer/index.html
@@ -53,64 +53,7 @@ var myReferrer = myRequest.referrer; // 既定で "about:client" を返す。</p
<h2 id="ブラウザ実装状況">ブラウザ実装状況</h2>
-<p>{{CompatibilityTable}}</p>
-
-<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)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</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>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] この機能は選択によって使えるようになります。</p>
+<p>{{Compat("api.Request.referrer")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/request/url/index.html b/files/ja/web/api/request/url/index.html
index fda3789b82..24e3a70991 100644
--- a/files/ja/web/api/request/url/index.html
+++ b/files/ja/web/api/request/url/index.html
@@ -49,64 +49,7 @@ var myURL = myRequest.url; // "http://mdn.github.io/fetch-examples/fetch-request
<h2 id="ブラウザ実装状況">ブラウザ実装状況</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table" style="height: 115px; width: 616px;">
- <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)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</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>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] この機能は選択によって使えるようになります。</p>
+<p>{{Compat("api.Request.url")}}</p>
<h2 id="関連項目">関連項目</h2>