From 9a110dee28ae2ef12ee014b98fda6bae6ee48edb Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Wed, 2 Mar 2022 20:22:51 +0900 Subject: Migrate to Compat macro (zh-cn) --- files/zh-cn/web/api/storage/clear/index.html | 62 +---------------------- files/zh-cn/web/api/storage/getitem/index.html | 62 +---------------------- files/zh-cn/web/api/storage/key/index.html | 62 +---------------------- files/zh-cn/web/api/storage/length/index.html | 62 +---------------------- files/zh-cn/web/api/storage/removeitem/index.html | 62 +---------------------- 5 files changed, 5 insertions(+), 305 deletions(-) (limited to 'files/zh-cn/web/api/storage') diff --git a/files/zh-cn/web/api/storage/clear/index.html b/files/zh-cn/web/api/storage/clear/index.html index 02eab09559..0e92a8d672 100644 --- a/files/zh-cn/web/api/storage/clear/index.html +++ b/files/zh-cn/web/api/storage/clear/index.html @@ -54,67 +54,7 @@ translation_of: Web/API/Storage/clear

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
localStorage43.5810.504
sessionStorage52810.504
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support2.1{{ CompatUnknown }}811iOS 3.2
-
- -

各浏览器支持的 localStorage 和 sessionStorage 容量不同。测试页面:detailed rundown of all the storage capacities for various browsers.

- -
-

Note: 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.

-
+{{Compat("api.Storage.clear")}}

相关链接

diff --git a/files/zh-cn/web/api/storage/getitem/index.html b/files/zh-cn/web/api/storage/getitem/index.html index 11869d49e2..de8a95b2b1 100644 --- a/files/zh-cn/web/api/storage/getitem/index.html +++ b/files/zh-cn/web/api/storage/getitem/index.html @@ -64,67 +64,7 @@ translation_of: Web/API/Storage/getItem

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
localStorage43.5810.504
sessionStorage52810.504
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support2.1{{ CompatUnknown }}811iOS 3.2
-
- -

各浏览器支持的 localStorage 和 sessionStorage 容量不同。测试页面:detailed rundown of all the storage capacities for various browsers

- -
-

Note: 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.

-
+{{Compat("api.Storage.getItem")}}

相关链接

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

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
localStorage43.5810.504
sessionStorage52810.504
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support2.1{{ CompatUnknown }}811iOS 3.2
-
- -

各浏览器支持的 localStorage 和 sessionStorage 容量不同。测试页面:detailed rundown of all the storage capacities for various browsers.

- -
-

Note: 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.

-
+{{Compat("api.Storage.key")}}

相关链接

diff --git a/files/zh-cn/web/api/storage/length/index.html b/files/zh-cn/web/api/storage/length/index.html index 5c4d79d3d3..47130b9785 100644 --- a/files/zh-cn/web/api/storage/length/index.html +++ b/files/zh-cn/web/api/storage/length/index.html @@ -50,67 +50,7 @@ translation_of: Web/API/Storage/length

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
localStorage43.5810.504
sessionStorage52810.504
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support2.1{{ CompatUnknown }}811iOS 3.2
-
- -

各浏览器支持的 localStorage 和 sessionStorage 容量不同。测试页面:detailed rundown of all the storage capacities for various browsers.

- -
-

Note: 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.

-
+{{Compat("api.Storage.length")}}

相关链接

diff --git a/files/zh-cn/web/api/storage/removeitem/index.html b/files/zh-cn/web/api/storage/removeitem/index.html index 462f3cf703..0f1ff8c465 100644 --- a/files/zh-cn/web/api/storage/removeitem/index.html +++ b/files/zh-cn/web/api/storage/removeitem/index.html @@ -57,67 +57,7 @@ translation_of: Web/API/Storage/removeItem

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
localStorage43.5810.504
sessionStorage52810.504
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support2.1{{ CompatUnknown }}811iOS 3.2
-
- -

各浏览器支持的 localStorage 和 sessionStorage 大小上限不同。测试页面 detailed rundown of all the storage capacities for various browsers

- -
-

Note: 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.

-
+{{Compat("api.Storage.removeItem")}}

相关链接

-- cgit v1.2.3-54-g00ecf