1.navigator
2.history
3.screen
4.location
//查看浏览器信息`
let ua=navigator.userAgent ;
//查看屏幕宽度,高度
screen.width
screen.height
//url
location.href
location.protocol
location.host
location.search
location.hash
location.pathname
//前进,后退
history.back()
history.forward()