0 评论
418 浏览

新秀window.history属性指向History对象的操作方法与方法设置

  作者 | 阮一峰  1、概述  window.history属性指向 History 对象,它表示当前窗口的浏览历史。  History 对象保存了当前窗口访问过的所有页面网址。下面代码表示当前窗口一共访问过3个网址。 ...

!