• 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. StorageEvent
  4. url

目录

  • Value
  • Specifications
  • Browser compatibility
  • See also
  1. Web Storage API
  2. StorageEvent
  3. Constructor
    1. StorageEvent()
  4. Instance properties
    1. key
    2. newValue
    3. oldValue
    4. storageArea
    5. url
  5. Instance methods
    1. initStorageEvent() Deprecated
  6. Inheritance
    1. Event
  7. Related pages for Web Storage API
    1. Storage
    2. Window.localStorage
    3. Window.sessionStorage

目录

  • Value
  • Specifications
  • Browser compatibility
  • See also

StorageEvent: url property

The url property of the StorageEvent interface returns the URL of the document whose storage changed.

Value

A string containing the URL of the document whose storage changed.

Specifications

Specification
HTML Standard
# dom-storageevent-url-dev

Browser compatibility

BCD tables only load in the browser

See also

  • Web Storage API
MDN Web 中文网 - 粤ICP备13048890号