aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mdn
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2021-06-22 23:06:54 +0800
committerIrvin <irvinfly@gmail.com>2021-06-23 01:24:08 +0800
commitd62c8afe56395e9e793dab0f629b2a1694449c82 (patch)
treed138619dfe111df18054728788297d807f62dc89 /files/zh-cn/mdn
parentffedcd031d0e1b0bb8b473cabde5dcd7e7d7b646 (diff)
downloadtranslated-content-d62c8afe56395e9e793dab0f629b2a1694449c82.tar.gz
translated-content-d62c8afe56395e9e793dab0f629b2a1694449c82.tar.bz2
translated-content-d62c8afe56395e9e793dab0f629b2a1694449c82.zip
remove deprecated $sample URLs for zh
Diffstat (limited to 'files/zh-cn/mdn')
-rw-r--r--files/zh-cn/mdn/structures/live_samples/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/mdn/structures/live_samples/index.html b/files/zh-cn/mdn/structures/live_samples/index.html
index 0b50a1b8f7..f5e03c47ef 100644
--- a/files/zh-cn/mdn/structures/live_samples/index.html
+++ b/files/zh-cn/mdn/structures/live_samples/index.html
@@ -28,7 +28,7 @@ translation_of: MDN/Structures/Live_samples
<li>如果这个编号属于一个行级元素,该集合将包含本行级元素之后到下个同级行级元素之前的所有代码。请注意,子元素下的代码块也会被包含,如果不希望这样的效果,可以使用块级元素的id。</li>
</ul>
-<p>宏使用一个特殊的 URL 来取得一个分组中的代码示例:<code>http://<em>url-of-page</em>$samples/<em>group-id</em></code>。 <code>group-id</code> 指代码所在行级或者块级元素的id。用来展示运行结果的框架(或页面)会运行在沙盒中,在安全条件下实现任何想在网络上实现的功能。当然,在实践中,代码需要针对于包含它的页面,否则会被社区编辑移除。</p>
+<p>宏使用一个特殊的 URL 来取得一个分组中的代码示例:<code>https://<em>url-of-page</em>_samples_/<em>group-id</em></code>。 <code>group-id</code> 指代码所在行级或者块级元素的id。用来展示运行结果的框架(或页面)会运行在沙盒中,在安全条件下实现任何想在网络上实现的功能。当然,在实践中,代码需要针对于包含它的页面,否则会被社区编辑移除。</p>
<div class="note">
<p><strong>注意:</strong><strong>必须</strong>使用宏来展示运行实例的输出。为保安全,MDN 编辑器将会移除直接使用 <code>&lt;iframe&gt;</code> 标签的地方。</p>