We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

跳转到:

非标准
该特性是非标准的,请尽量不要在生产环境中使用它!

已废弃 Gecko 31 (Firefox 31 / Thunderbird 31 / SeaMonkey 2.28)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

摘要

返回到主页的窗口。

语法

window.home() 

示例

function goHome() {
  window.home();
}

规范

DOM Level 0. 不是规范的一部分.

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 未实现 1.0 (1.7 or earlier) 未实现 (Yes) 未实现
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 未实现 ? 未实现 ? 未实现

 

文档标签和贡献者

此页面的贡献者: Mr.ma
最后编辑者: Mr.ma,