closed 只有当窗口关闭时他才为true,其余时候是false、html
defaultStatus status 浏览器状态栏显示的文本数组
document 文档对象模型,对Document对象的引用,表明窗口中显示的html文档浏览器
frames window对象的数组,表明窗口中的各个框架app
history 对History对象的引用,表明用户浏览窗口的历史框架
location 对Location 对象的引用,表明窗口中显示文档的url地址url
name 窗口的名称,可被a的target属性使用spa
opener 对打开当前窗口的window对象的引用,若是当前窗口被用户打开,则他的值为nullorm
parent 父窗口htm
self 对当前Window对象的引用,与window同义对象
top 当窗口多层嵌套时,表明顶级窗口
window自引用属性,对当前Window对象的引用
navigator: appName appVersion userAgent appCodeName platform
方法:
1.alert() confirm() prompt()
2. close() 关闭窗打开的窗口
3.focus() blur()
4.moveBy() moveTo()
5.open()打开新的顶级窗口
6.print()打印网页内容
7.resizeBy() resizeTo()
8.scrollBy() scroolTo()
9.setInterval() clearInterval()
10.setTimeout() clearTimeout()