aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/storage/key/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/storage/key/index.html')
-rw-r--r--files/zh-cn/web/api/storage/key/index.html62
1 files changed, 1 insertions, 61 deletions
diff --git a/files/zh-cn/web/api/storage/key/index.html b/files/zh-cn/web/api/storage/key/index.html
index bfd14f5c44..84e7c20dad 100644
--- a/files/zh-cn/web/api/storage/key/index.html
+++ b/files/zh-cn/web/api/storage/key/index.html
@@ -57,67 +57,7 @@ translation_of: Web/API/Storage/key
<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 (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>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</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 class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">detailed rundown of all the storage capacities for various browsers</a>.</p>
-
-<div class="note">
-<p><strong>Note: </strong>since iOS 5.1, Safari Mobile stores localStorage data in the cache folder, which is subject to occasional clean up, at the behest of the OS, typically if space is short.</p>
-</div>
+{{Compat("api.Storage.key")}}
<h2 id="相关链接">相关链接</h2>