• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  • Log in
  • Sign up for free
  1. 面向开发者的 Web 技术
  2. Web API
  3. Performance
  4. Performance.navigation
    • English (US)
    • Deutsch
    • Español
    • Français
    • 日本語

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

在本文中

  • 概要
  • 语法
  • 规范
  • 浏览器兼容性
  • 相关链接
  1. Performance
  2. 实例属性
    1. eventCounts
    2. memory 非标准 已弃用
    3. navigation 已弃用
    4. timeOrigin
    5. timing 已弃用
  3. 实例方法
    1. clearMarks()
    2. clearMeasures()
    3. clearResourceTimings()
    4. getEntries()
    5. getEntriesByName()
    6. getEntriesByType()
    7. mark()
    8. measure()
    9. measureUserAgentSpecificMemory() 实验性
    10. now()
    11. setResourceTimingBufferSize()
    12. toJSON()
  4. 事件
    1. resourcetimingbufferfull
  5. 继承
    1. EventTarget

在本文中

  • 概要
  • 语法
  • 规范
  • 浏览器兼容性
  • 相关链接

Performance.navigation

概要

只读属性 Performance.navigation 会返回一个 PerformanceNavigation 对象。这个对象表示出现在当前浏览上下文的 navigation 类型,比如获取某个资源所需要的重定向次数。

语法

navObject = performance.navigation;

规范

因为 Navigation Timing 规范已被弃用,此特性不再有望成为标准。请使用 PerformanceNavigationTiming 接口代替。

浏览器兼容性

相关链接

  • 这个功能属于接口 Performance .

Help improve MDN

Learn how to contribute.

This page was last modified on 2022年9月21日 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.