From 3087cbfa47c646e702d9d301305f7a5b28431b52 Mon Sep 17 00:00:00 2001 From: rjohnson Date: Sun, 14 Mar 2021 14:55:27 -0700 Subject: remove references to developer.cdn.mozilla.net --- .../the_head_metadata_in_html/index.html | 12 ++++++------ files/zh-cn/web/css/background-repeat/index.html | 2 +- files/zh-cn/web/html/element/figure/index.html | 4 ++-- files/zh-cn/web/html/element/menuitem/index.html | 2 +- .../web/http/basics_of_http/evolution_of_http/index.html | 2 +- files/zh-cn/web/http/headers/host/index.html | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'files/zh-cn') diff --git a/files/zh-cn/learn/html/introduction_to_html/the_head_metadata_in_html/index.html b/files/zh-cn/learn/html/introduction_to_html/the_head_metadata_in_html/index.html index e61085147b..a5c51b3ff8 100644 --- a/files/zh-cn/learn/html/introduction_to_html/the_head_metadata_in_html/index.html +++ b/files/zh-cn/learn/html/introduction_to_html/the_head_metadata_in_html/index.html @@ -159,7 +159,7 @@ Web sites and HTML5 Apps. It also documents Mozilla products, like Firefox OS."&

例如,Facebook 编写的元数据协议 Open Graph Data 为网站提供了更丰富的元数据。在 MDN 源代码中,你会发现:

-
<meta property="og:image" content="https://developer.cdn.mozilla.net/static/img/opengraph-logo.dc4e08e2f6af.png">
+
<meta property="og:image" content="https://developer.mozilla.org/static/img/opengraph-logo.png">
 <meta property="og:description" content="The Mozilla Developer Network (MDN) provides
 information about Open Web technologies including HTML, CSS, and APIs for both Web sites
 and HTML5 Apps. It also documents Mozilla products, like Firefox OS.">
@@ -191,15 +191,15 @@ and HTML5 Apps. It also documents Mozilla products, like Firefox OS.">
 

如今还有很多其他的图标类型可以考虑。 例如,你可以在 MDN 主页的源代码中找到它:

<!-- third-generation iPad with high-resolution Retina display: -->
-<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://developer.cdn.mozilla.net/static/img/favicon144.a6e4162070f4.png">
+<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://developer.mozilla.org/static/img/favicon144.png">
 <!-- iPhone with high-resolution Retina display: -->
-<link rel="apple-touch-icon-precomposed" sizes="114x114" href="https://developer.cdn.mozilla.net/static/img/favicon114.0e9fabd44f85.png">
+<link rel="apple-touch-icon-precomposed" sizes="114x114" href="https://developer.mozilla.org/static/img/favicon114.png">
 <!-- first- and second-generation iPad: -->
-<link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://developer.cdn.mozilla.net/static/img/favicon72.8ff9d87c82a0.png">
+<link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://developer.mozilla.org/static/img/favicon72.png">
 <!-- non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
-<link rel="apple-touch-icon-precomposed" href="https://developer.cdn.mozilla.net/static/img/favicon57.a2490b9a2d76.png">
+<link rel="apple-touch-icon-precomposed" href="https://developer.mozilla.org/static/img/favicon57.png">
 <!-- basic favicon -->
-<link rel="shortcut icon" href="https://developer.cdn.mozilla.net/static/img/favicon32.e02854fdcf73.png">
+<link rel="shortcut icon" href="https://developer.mozilla.org/static/img/favicon32.png">

这些注释解释了每个图标的用途 - 这些元素涵盖的东西提供一个高分辨率图标,这些高分辨率图标当网站保存到iPad的主屏幕时使用。

diff --git a/files/zh-cn/web/css/background-repeat/index.html b/files/zh-cn/web/css/background-repeat/index.html index 897b4786c7..0f8a1d6291 100644 --- a/files/zh-cn/web/css/background-repeat/index.html +++ b/files/zh-cn/web/css/background-repeat/index.html @@ -163,7 +163,7 @@ div { /* Multiple images */ .five { background-image: url(https://mdn.mozillademos.org/files/12005/starsolid.gif), - url(https://developer.cdn.mozilla.net/media/redesign/img/favicon32.png); + url(https://developer.mozilla.org/static/img/favicon32.png); background-repeat: repeat-x, repeat-y; height: 144px; diff --git a/files/zh-cn/web/html/element/figure/index.html b/files/zh-cn/web/html/element/figure/index.html index 5c2e101c81..d8a8dbe65b 100644 --- a/files/zh-cn/web/html/element/figure/index.html +++ b/files/zh-cn/web/html/element/figure/index.html @@ -64,14 +64,14 @@ translation_of: Web/HTML/Element/figure
<!-- Just an image -->
 <figure>
   <img
-  src="https://developer.cdn.mozilla.net/media/img/mdn-logo-sm.png"
+  src="https://developer.mozilla.org/static/img/favicon144.png"
   alt="A robotic monster over the letters MDN.">
 </figure>
 
 <!-- Image with a caption -->
 <figure>
   <img
-  src="https://developer.cdn.mozilla.net/media/img/mdn-logo-sm.png"
+  src="https://developer.mozilla.org/static/img/favicon144.png"
   alt="A robotic monster over the letters MDN.">
   <figcaption>MDN Logo</figcaption>
 </figure>
diff --git a/files/zh-cn/web/html/element/menuitem/index.html b/files/zh-cn/web/html/element/menuitem/index.html
index 74bda2d9d9..18605f55a0 100644
--- a/files/zh-cn/web/html/element/menuitem/index.html
+++ b/files/zh-cn/web/html/element/menuitem/index.html
@@ -85,7 +85,7 @@ translation_of: Web/HTML/Element/menuitem
 <menu type="context" id="popup-menu">
   <menuitem type="checkbox" checked>Checkbox</menuitem>
   <hr>
-  <menuitem type="command" label="This command does nothing" icon="https://developer.cdn.mozilla.net/static/img/favicon144.png">
+  <menuitem type="command" label="This command does nothing" icon="https://developer.mozilla.org/static/img/favicon144.png">
     Commands don't render their contents.
   </menuitem>
   <menuitem type="command" label="This command has javascript" onclick="alert('command clicked')">
diff --git a/files/zh-cn/web/http/basics_of_http/evolution_of_http/index.html b/files/zh-cn/web/http/basics_of_http/evolution_of_http/index.html
index 8b35e66cfa..de63f462e7 100644
--- a/files/zh-cn/web/http/basics_of_http/evolution_of_http/index.html
+++ b/files/zh-cn/web/http/basics_of_http/evolution_of_http/index.html
@@ -118,7 +118,7 @@ Vary: Cookie, Accept-Encoding
 
 
 GET /static/img/header-background.png HTTP/1.1
-Host: developer.cdn.mozilla.net
+Host: developer.mozilla.org
 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:50.0) Gecko/20100101 Firefox/50.0
 Accept: */*
 Accept-Language: en-US,en;q=0.5
diff --git a/files/zh-cn/web/http/headers/host/index.html b/files/zh-cn/web/http/headers/host/index.html
index a7264922d4..b5498fd546 100644
--- a/files/zh-cn/web/http/headers/host/index.html
+++ b/files/zh-cn/web/http/headers/host/index.html
@@ -42,7 +42,7 @@ translation_of: Web/HTTP/Headers/Host
 
 

示例

-
Host: developer.cdn.mozilla.net
+
Host: developer.mozilla.org

规范

-- cgit v1.2.3-54-g00ecf