const ua = navigator.userAgent ua.indexOf('Chrome') // 无法准确确定是何种浏览器
screen.width screen.height
location.href location.protocol location.host location.search // ?xxxx=xxx location.hash // #xx location.pathname // 除去域名:端口
history.back() history.forward()