1、window对象,表示浏览器窗口:

  window.document.getElementById("header"); 等价于 document.getElementById("header");;

  window.innerWidth的值(不包括工具栏/滚动条),受浏览器外框缩放的影响。

2、window.location 对象用于获得当前页面的地址 (URL),并把浏览器重定向到新的页面???:

  页面跳转与重定向

3、file:///F:/webwork/JavaScript/_04_JSWindow.html:

  file://:表示采用 本地文件传输协议 访问本地计算机文件;

  location.pathname:

    /F:/webwork/JavaScript/_04_JSWindow.html,路径名 最前面的/ ???

4、document.write(location.port);无效???

5、User-agent ???

6、js自定义函数默认返回值为undefined。

7、clearTimeout会取消setTimeout设置的定时器:

  clearTimeout(id_of_settimeout);

  id_of_settimeout:由 setTimeout() 返回的 ID 值。该值标识要取消的延迟执行代码块。

8、escape与unescape???

9、cookie例程:

  再次出现W3School正常但本地+Chrome模式异常的问题???