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/headers/delete/index.html | 58 +------------------- files/zh-cn/web/api/headers/entries/index.html | 52 +----------------- files/zh-cn/web/api/headers/get/index.html | 58 +------------------- files/zh-cn/web/api/headers/has/index.html | 62 +-------------------- files/zh-cn/web/api/headers/headers/index.html | 58 +------------------- files/zh-cn/web/api/headers/index.html | 76 +------------------------- 6 files changed, 6 insertions(+), 358 deletions(-) (limited to 'files/zh-cn/web/api/headers') diff --git a/files/zh-cn/web/api/headers/delete/index.html b/files/zh-cn/web/api/headers/delete/index.html index 12c52da4c0..aa223853f3 100644 --- a/files/zh-cn/web/api/headers/delete/index.html +++ b/files/zh-cn/web/api/headers/delete/index.html @@ -69,63 +69,7 @@ myHeaders.get('Content-Type'); // Returns null, as it has been deleted

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatChrome(42) }}
- {{ CompatChrome(41) }} behind pref
-  
{{ CompatGeckoDesktop(39)}}
- 34 behind pref
{{ CompatNo }} -

29
- 28 behind pref

-
{{ CompatNo }}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
-
+{{Compat("api.Headers.delete")}}

See also

diff --git a/files/zh-cn/web/api/headers/entries/index.html b/files/zh-cn/web/api/headers/entries/index.html index abcc44ce61..2d9ad1a68a 100644 --- a/files/zh-cn/web/api/headers/entries/index.html +++ b/files/zh-cn/web/api/headers/entries/index.html @@ -56,57 +56,7 @@ vary: Accept-Language

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatUnknown}}{{CompatGeckoDesktop(44)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile(44)}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("api.Headers.entries")}}

See also

diff --git a/files/zh-cn/web/api/headers/get/index.html b/files/zh-cn/web/api/headers/get/index.html index 7ef3dfffc7..94bdb4f552 100644 --- a/files/zh-cn/web/api/headers/get/index.html +++ b/files/zh-cn/web/api/headers/get/index.html @@ -70,63 +70,7 @@ myHeaders.get('Accept-Encoding'); // Returns "deflate,gzip"

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatChrome(42) }}
- {{ CompatChrome(41) }} behind pref
-  
{{ CompatGeckoDesktop(39)}}
- 34 behind pref
{{ CompatNo }} -

29
- 28 behind pref

-
{{ CompatNo }}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
-
+{{Compat("api.Headers.get")}}

See also

diff --git a/files/zh-cn/web/api/headers/has/index.html b/files/zh-cn/web/api/headers/has/index.html index 471bd1fb90..7e9bfe3824 100644 --- a/files/zh-cn/web/api/headers/has/index.html +++ b/files/zh-cn/web/api/headers/has/index.html @@ -56,67 +56,7 @@ myHeaders.has('Accept-Encoding'); // Returns false

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatChrome(42) }}
- {{ CompatChrome(41) }} behind pref
-  
{{CompatVersionUnknown}}{{ CompatGeckoDesktop(39)}}
- 34 behind pref
{{ CompatNo }} -

29
- 28 behind pref

-
{{ CompatNo }}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{CompatVersionUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
-
+{{Compat("api.Headers.has")}}

See also

diff --git a/files/zh-cn/web/api/headers/headers/index.html b/files/zh-cn/web/api/headers/headers/index.html index 956904968d..a096a43c35 100644 --- a/files/zh-cn/web/api/headers/headers/index.html +++ b/files/zh-cn/web/api/headers/headers/index.html @@ -62,63 +62,7 @@ secondHeadersObj.get('Content-Type'); // Would return 'image/jpeg' — it inheri

Browser compatibility

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatChrome(42) }}
- {{ CompatChrome(41) }} behind pref
-  
{{ CompatGeckoDesktop(39)}}
- 34 behind pref
{{ CompatNo }} -

29
- 28 behind pref

-
{{ CompatNo }}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
-
+{{Compat("api.Headers.Headers")}}

See also

diff --git a/files/zh-cn/web/api/headers/index.html b/files/zh-cn/web/api/headers/index.html index 75a7b51982..6ee8e3e390 100644 --- a/files/zh-cn/web/api/headers/index.html +++ b/files/zh-cn/web/api/headers/index.html @@ -98,81 +98,7 @@ myHeaders.get('Content-Type');

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatChrome(42) }}
- {{ CompatChrome(41) }} behind pref
-  
{{ CompatGeckoDesktop(39)}}
- 34 behind pref
{{ CompatNo }} -

29
- 28 behind pref

-
{{ CompatNo }}
entries(), keys(), values(), and support of for...of{{CompatUnknown}}{{ CompatGeckoDesktop(44)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
entries(), keys(), values(), and support of for...of{{CompatUnknown}}{{ CompatGeckoMobile(44)}}2.5{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+{{Compat("api.Headers")}}

相关链接

-- cgit v1.2.3-54-g00ecf