js 怎样判断用户是否在浏览当前页面?这样:网页当前状态判断var hidden, state, visibilityChangeif (typeof document.hidden !=="undefined") {hidden = "h2023-04-06JavaScript250