• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • 参考手册
    • 概述 / Web 技术

      适用于开发者的 Web 技术参考手册

    • HTML

      Web 内容的结构

    • CSS

      用于描述文档样式的代码

    • JavaScript

      通用脚本语言

  • 开发指南
    • 概述 / MDN 学习区

      学习 Web 开发

    • MDN 学习区

      学习 Web 开发

    • HTML

      学习使用 HTML 构建 Web 内容

    • CSS

      学习使用 CSS 设置内容样式

    • JavaScript

      学习在浏览器中运行脚本

  • 更多中文网
  1. 面向开发者的 Web 技术
  2. 网络 API
  3. NetworkInformation
  4. saveData

目录

  • Value
  • Specifications
  • Browser compatibility
  • See also
  1. Network Information API
  2. NetworkInformation
  3. Instance properties
    1. downlink
    2. downlinkMax Experimental
    3. effectiveType
    4. rtt
    5. saveData
    6. type Experimental
  4. Events
    1. change
  5. Inheritance
    1. EventTarget
  6. Related pages for Network Information API
    1. Navigator.connection
    2. WorkerNavigator.connection

目录

  • Value
  • Specifications
  • Browser compatibility
  • See also

NetworkInformation: saveData property

Note: This feature is available in Web Workers.

The saveData read-only property of the NetworkInformation interface returns true if the user has set a reduced data usage option on the user agent.

Value

A boolean value.

Specifications

Specification
Save Data API
# dfn-savedata

Browser compatibility

BCD tables only load in the browser

See also

  • Save-Data
MDN Web 中文网 - 粤ICP备13048890号