NavigationActivation:from 属性

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

实验性: 这是一项实验性技术
在将其用于生产之前,请仔细检查浏览器兼容性表格

NavigationActivation 接口的 from 只读属性包含一个 NavigationHistoryEntry 对象,表示导航中传出(“来自”)的文档历史记录条目。

NavigationHistoryEntry 对象,或 null 若传出文档为:

  • 与传入文档不同源。
  • 初始 about:blank 文档。

示例

查看 NavigationActivation 主页面。

规范

Specification
HTML
# dom-navigationactivation-from

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
from
Experimental

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Experimental. Expect behavior to change in the future.

参见