Window 6大内置对象

1navigator

浏览器本身信息。例如,客户机发送服务器的 user-agent 头部的值:navigator.userAgent

2、frames[]

浏览器框架组合。例如,frame[i] //当前窗口的框架 self.frame[i] //当前窗口的框架 w.frame[i] //窗口 w 的框架

3、location

浏览器地址

4、screen

 

Screen 对象包含有关客户端显示屏幕的信息。

 

注释:没有应用于 screen 对象的公开标准,不过所有浏览器都支持该对象。

 

窗口屏幕信息

5、history

浏览历史

6、document

每个载入浏览器的 HTML 文档都会成为 Document 对象。Document 对象是 Window 对象的一部分,可通过 window.document 属性对其进行访问。

posted @ 2017-11-07 18:17  之广  阅读(2702)  评论(0编辑  收藏  举报
我的博客——易之广