diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2021-03-30 18:22:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 18:22:36 +0900 |
commit | 8e33c52f809796c68a683ad343f37ee4e7ce4616 (patch) | |
tree | 8173bf5eaf5c192eb2487efe37c7b74997800898 /files/ja/web/api/storage | |
parent | 8ea157f6b6fbef9c60695918c6a6382677e5b5df (diff) | |
download | translated-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/storage')
-rw-r--r-- | files/ja/web/api/storage/getitem/index.html | 62 | ||||
-rw-r--r-- | files/ja/web/api/storage/key/index.html | 62 | ||||
-rw-r--r-- | files/ja/web/api/storage/length/index.html | 62 | ||||
-rw-r--r-- | files/ja/web/api/storage/setitem/index.html | 62 |
4 files changed, 4 insertions, 244 deletions
diff --git a/files/ja/web/api/storage/getitem/index.html b/files/ja/web/api/storage/getitem/index.html index 249dd1ad12..83dcdf8353 100644 --- a/files/ja/web/api/storage/getitem/index.html +++ b/files/ja/web/api/storage/getitem/index.html @@ -70,68 +70,8 @@ translation_of: Web/API/Storage/getItem <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2> -<div>{{CompatibilityTable}}</div> +<p>{{Compat("api.Storage.getItem")}}</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>localStorage</td> - <td>4</td> - <td>3.5</td> - <td>8</td> - <td>10.50</td> - <td>4</td> - </tr> - <tr> - <td>sessionStorage</td> - <td>5</td> - <td>2</td> - <td>8</td> - <td>10.50</td> - <td>4</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>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>2.1</td> - <td>{{CompatUnknown}}</td> - <td>8</td> - <td>11</td> - <td>iOS 3.2</td> - </tr> - </tbody> -</table> -</div> - -<p>すべてのブラウザで、localStorage および sessionStorage が受け入れる容量は異なります。<a href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">さまざまなブラウザのストレージ容量を報告しているページ</a>があります。</p> - -<div class="note"> -<p><strong>注記</strong>: iOS 5.1 より Safari Mobile は localStorage データを cache フォルダに保存しており、概して空き容量が少ない場合に OS の要求により、時々クリーンアップを受けます。</p> -</div> -s <h2 id="See_also" name="See_also">関連情報</h2> <ul> diff --git a/files/ja/web/api/storage/key/index.html b/files/ja/web/api/storage/key/index.html index 6fc7067247..fd801caa42 100644 --- a/files/ja/web/api/storage/key/index.html +++ b/files/ja/web/api/storage/key/index.html @@ -61,67 +61,7 @@ translation_of: Web/API/Storage/key <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</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>localStorage</td> - <td>4</td> - <td>3.5</td> - <td>8</td> - <td>10.50</td> - <td>4</td> - </tr> - <tr> - <td>sessionStorage</td> - <td>5</td> - <td>2</td> - <td>8</td> - <td>10.50</td> - <td>4</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>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>2.1</td> - <td>{{CompatUnknown}}</td> - <td>8</td> - <td>11</td> - <td>iOS 3.2</td> - </tr> - </tbody> -</table> -</div> - -<p>すべてのブラウザで、localStorage および sessionStorage が受け入れる容量は異なります。<a href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">さまざまなブラウザのストレージ容量を報告しているページ</a>があります。</p> - -<div class="note"> -<p><strong>注記</strong>: iOS 5.1 より Safari Mobile は localStorage データを cache フォルダに保存しており、概して空き容量が少ない場合に OS の要求により、時々クリーンアップを受けます。</p> -</div> +<p>{{Compat("api.Storage.key")}}</p> <h2 id="See_also" name="See_also">関連情報</h2> diff --git a/files/ja/web/api/storage/length/index.html b/files/ja/web/api/storage/length/index.html index 5263fdcc39..51f730e98e 100644 --- a/files/ja/web/api/storage/length/index.html +++ b/files/ja/web/api/storage/length/index.html @@ -57,67 +57,7 @@ translation_of: Web/API/Storage/length <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</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>localStorage</td> - <td>4</td> - <td>3.5</td> - <td>8</td> - <td>10.50</td> - <td>4</td> - </tr> - <tr> - <td>sessionStorage</td> - <td>5</td> - <td>2</td> - <td>8</td> - <td>10.50</td> - <td>4</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>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>2.1</td> - <td>{{CompatUnknown}}</td> - <td>8</td> - <td>11</td> - <td>iOS 3.2</td> - </tr> - </tbody> -</table> -</div> - -<p>すべてのブラウザで、localStorage および sessionStorage が受け入れる容量は異なります。<a href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">さまざまなブラウザのストレージ容量を報告しているページ</a>があります。</p> - -<div class="note"> -<p><strong>注記</strong>: iOS 5.1 より Safari Mobile は localStorage データを cache フォルダに保存しており、概して空き容量が少ない場合に OS の要求により、時々クリーンアップを受けます。</p> -</div> +<p>{{Compat("api.Storage.length")}}</p> <h2 id="See_also" name="See_also">関連情報</h2> diff --git a/files/ja/web/api/storage/setitem/index.html b/files/ja/web/api/storage/setitem/index.html index 3cff60fbdc..2d994cc93c 100644 --- a/files/ja/web/api/storage/setitem/index.html +++ b/files/ja/web/api/storage/setitem/index.html @@ -68,67 +68,7 @@ translation_of: Web/API/Storage/setItem <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</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>localStorage</td> - <td>4</td> - <td>3.5</td> - <td>8</td> - <td>10.50</td> - <td>4</td> - </tr> - <tr> - <td>sessionStorage</td> - <td>5</td> - <td>2</td> - <td>8</td> - <td>10.50</td> - <td>4</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>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>2.1</td> - <td>{{CompatUnknown}}</td> - <td>8</td> - <td>11</td> - <td>iOS 3.2</td> - </tr> - </tbody> -</table> -</div> - -<p>すべてのブラウザで、localStorage および sessionStorage が受け入れる容量は異なります。<a href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">さまざまなブラウザのストレージ容量を報告しているページ</a>があります。</p> - -<div class="note"> -<p><strong>注記</strong>: iOS 5.1 より Safari Mobile は localStorage データを cache フォルダに保存しており、概して空き容量が少ない場合に OS の要求により、時々クリーンアップを受けます。</p> -</div> +<p>{{Compat("api.Storage.setItem")}}</p> <h2 id="See_also" name="See_also">関連情報</h2> |