document.URL location.href location.assign() location.replace()区别
IE8:都可以跳转。除了location.replace()在浏览历史中不存在跳转前页面,其他都可在浏览历史里找到
Chrome6 & FF3.6:除了document.URL不能跳转页面,其他都可以。且都不会在浏览历史里找到跳转前页面
Safari4:除了document.URL不能跳转页面,其他都可以。location.replace()在浏览历史中不存在跳转前页面,location.href和location.assign()都可在浏览历史里找到
Opera10.6:除了document.URL不能跳转页面,其他都可以。location.replace()和location.href都在浏览历史中不存在跳转前页面,location.assign()可在浏览历史里找到