From a02f4b2f60c81e09b318a090e5c9c2d2d641c878 Mon Sep 17 00:00:00 2001 From: t7yang Date: Sat, 17 Jul 2021 16:10:02 +0800 Subject: replace wiki links in zh-CN --- files/zh-cn/tools/about_colon_debugging/index.html | 2 +- files/zh-cn/tools/index.html | 4 ++-- files/zh-cn/tools/performance/frame_rate/index.html | 4 ++-- files/zh-cn/tools/performance/ui_tour/index.html | 14 +++++++------- files/zh-cn/tools/web_console/helpers/index.html | 18 +++++++++--------- 5 files changed, 21 insertions(+), 21 deletions(-) (limited to 'files/zh-cn/tools') diff --git a/files/zh-cn/tools/about_colon_debugging/index.html b/files/zh-cn/tools/about_colon_debugging/index.html index a5a46ba13c..4d0e8d12d4 100644 --- a/files/zh-cn/tools/about_colon_debugging/index.html +++ b/files/zh-cn/tools/about_colon_debugging/index.html @@ -136,7 +136,7 @@ translation_of: 'Tools/about:debugging'
  • 对于其他文件的更改,点击移除按钮旁边的重载按钮,它会做以下事情:
  • diff --git a/files/zh-cn/tools/index.html b/files/zh-cn/tools/index.html index 160567490a..141a9dbed7 100644 --- a/files/zh-cn/tools/index.html +++ b/files/zh-cn/tools/index.html @@ -89,7 +89,7 @@ translation_of: Tools

    网络监视器

    -

    The Network panel in Firefox 57 DevTools.

    +

    The Network panel in Firefox 57 DevTools.

    查看加载页面时的网络请求。

    @@ -125,7 +125,7 @@ translation_of: Tools

    应用面板

    -

    Performance Tools in Firefox 57 Developer Tools

    +

    Performance Tools in Firefox 57 Developer Tools

    提供现代web应用(或者叫改进web应用)预览和调试工具。包括服务工和web应用清单的预览。

    diff --git a/files/zh-cn/tools/performance/frame_rate/index.html b/files/zh-cn/tools/performance/frame_rate/index.html index 5e0c776482..efdce84d51 100644 --- a/files/zh-cn/tools/performance/frame_rate/index.html +++ b/files/zh-cn/tools/performance/frame_rate/index.html @@ -35,7 +35,7 @@ translation_of: Tools/Performance/Frame_rate

    帧率图

    -

    可以在“性能”工具的“录制概览”中找到帧率图。 当浏览器完成一帧时需要花费一个时间戳,并使用它来跟踪记录过程中的帧率。

    +

    可以在“性能”工具的“录制概览”中找到帧率图。 当浏览器完成一帧时需要花费一个时间戳,并使用它来跟踪记录过程中的帧率。

    x 轴是全部周期内的时间,共有三个注解:最大帧率,平均帧率和最低帧率。

    @@ -45,7 +45,7 @@ translation_of: Tools/Performance/Frame_rate

    使用帧率图

    -

    帧率图的最大的价值在于,它和 Web 控制台一样,可以快速指出您的站点可能出现问题的位置,从而使您可以使用其他工具进行更深入的分析。 例如,这是性能文件的屏幕截图:

    +

    帧率图的最大的价值在于,它和 Web 控制台一样,可以快速指出您的站点可能出现问题的位置,从而使您可以使用其他工具进行更深入的分析。 例如,这是性能文件的屏幕截图:

    diff --git a/files/zh-cn/tools/performance/ui_tour/index.html b/files/zh-cn/tools/performance/ui_tour/index.html index 7b77de46ff..6e6fbcd764 100644 --- a/files/zh-cn/tools/performance/ui_tour/index.html +++ b/files/zh-cn/tools/performance/ui_tour/index.html @@ -10,14 +10,14 @@ translation_of: Tools/Performance/UI_Tour

    diff --git a/files/zh-cn/tools/web_console/helpers/index.html b/files/zh-cn/tools/web_console/helpers/index.html index d8a52db1d6..406f99ff54 100644 --- a/files/zh-cn/tools/web_console/helpers/index.html +++ b/files/zh-cn/tools/web_console/helpers/index.html @@ -12,7 +12,7 @@ translation_of: Tools/Web_Console/Helpers
    $(selector, element)
    使用 selector 值查找一个CSS选择器,返回 element 元素后代中第一个匹配的节点。如果未指定,则 element 默认为 document。相当于 {{ domxref("document.querySelector()") }} 或者调用该页面的 $ 函数(在它存在的前提下)。
    -
    参考 QuerySelector code snippet
    +
    参考 QuerySelector code snippet
    $$(selector, element)
    使用 selector 值查找一个CSS选择器,返回 element 元素后代中所有匹配的节点组成的数组。如果未指定,则 element 默认为 document。它类似于 {{ domxref("document.querySelectorAll()") }},但是返回值是数组,而不是 {{ domxref("NodeList") }}。
    $0
    @@ -22,23 +22,23 @@ translation_of: Tools/Web_Console/Helpers
    $x(xpath, element, resultType)
    求出 element 上下文中 XPathxpath)表达式的值并返回一个包含所有匹配节点的数组。如果未指定,则 element 默认为 documentresultType 参数指定返回结果的类型,它可能是一个 XPathResult constant 类型或者是一个相应的字符串:"number""string""bool""node""nodes";如果未提供该参数,则使用 ANY_TYPE
    :block
    -
    (从Firefox 80版本开始可用)后跟一个未引用的字符串,阻止URL中包含该字符串的请求。在 Network Monitor 中,该字符串会显示在 Request Blocking sidebar 中并被选中。如果需要取消阻止,就用 :unblock
    +
    (从Firefox 80版本开始可用)后跟一个未引用的字符串,阻止URL中包含该字符串的请求。在 Network Monitor 中,该字符串会显示在 Request Blocking sidebar 中并被选中。如果需要取消阻止,就用 :unblock
    cd() {{deprecated_inline("gecko74")}}
    将JavaScript执行上下文切换到该页面上一个不同的iframe框架。该函数接受多种不同方法来确认具体要切换到哪一个框架。
    详情请查看 working with iframes
    clear()
    清除控制台输出区域。
    clearHistory()
    -
    就像一个普通的命令行一样,控制台命令行记住你曾经输入的命令(remembers the commands you've typed)。使用该函数来清除控制台的键入命令历史记录。
    +
    就像一个普通的命令行一样,控制台命令行记住你曾经输入的命令(remembers the commands you've typed)。使用该函数来清除控制台的键入命令历史记录。
     copy()
    -
    将其中的参数部分复制到剪贴板。如果参数是一个字符串,则复制它的字面内容。如果参数是一个DOM节点,则复制它的 outerHTML 。否则,就针对该参数调用 JSON.stringify 方法,然后将结果复制到剪贴板。
    +
    将其中的参数部分复制到剪贴板。如果参数是一个字符串,则复制它的字面内容。如果参数是一个DOM节点,则复制它的 outerHTML 。否则,就针对该参数调用 JSON.stringify 方法,然后将结果复制到剪贴板。
    help() {{Deprecated_Inline(62)}}
    :help {{Gecko_MinVersion_Inline(62)}}
    显示帮助文本。事实上,在经过一个令人愉快的递归后,会把你带到这个页面。
    inspect()
    -
    提供一个对象,为它生成一份 rich output。一旦选择了输出区域中的对象,就可以使用键盘上的箭头按键来浏览对象详情。
    +
    提供一个对象,为它生成一份 rich output。一旦选择了输出区域中的对象,就可以使用键盘上的箭头按键来浏览对象详情。
    keys()
    -
    提供一个对象,返回它所有的键(或属性名)。这是 Object.keys 的简写。
    +
    提供一个对象,返回它所有的键(或属性名)。这是 Object.keys 的简写。
    pprint() {{Obsolete_Inline(74)}}
    以一种可读的方式格式化指定值。这在转储对象或者数组内容时非常有用。
    :screenshot
    @@ -92,7 +92,7 @@ translation_of: Tools/Web_Console/Helpers
    :unblock
    -
    (从Firefox 80版本开始可用)后跟一个未引用的字符串,取消阻止URL中包含该字符串的请求。在 Network Monitor 中,该字符串会被从 Request Blocking sidebar 中移除。如果该字符串之前未被阻止,也不会抛出错误信息。
    +
    (从Firefox 80版本开始可用)后跟一个未引用的字符串,取消阻止URL中包含该字符串的请求。在 Network Monitor 中,该字符串会被从 Request Blocking sidebar 中移除。如果该字符串之前未被阻止,也不会抛出错误信息。
    values()
    提供一个对象,返回它所有的值。与 keys() 是伙伴函数。
    @@ -103,7 +103,7 @@ translation_of: Tools/Web_Console/Helpers
    tempN
    -
    查看器中的 Use in Console 选项(选中任意一个元素,右键菜单中有该选项)为节点生成了一个变量例如 temp0temp1temp2 等等来引用该节点。
    +
    查看器中的 Use in Console 选项(选中任意一个元素,右键菜单中有该选项)为节点生成了一个变量例如 temp0temp1temp2 等等来引用该节点。

    示例

    @@ -121,5 +121,5 @@ translation_of: Tools/Web_Console/Helpers

    另请参阅

    -- cgit v1.2.3-54-g00ecf