pttman
Muster
屬於你的大爆卦
pttman
Muster
屬於你的大爆卦
pttman
Muster
屬於你的大爆卦
Ptt 大爆卦
visibilityState
離開本站
你即將離開本站
並前往
https://www.codeprj.com/zh/blog/9696b71.html
監聽用戶關閉瀏覽器、離開瀏覽器事件- 碼上快樂
這個API 主要在 document 對象上,新增了一個 document.visibilityState 屬性。該屬性返回一個字符串,表示頁面當前的可見性狀態,共有三個可能的值。
確定!
回上一頁
查詢
「visibilityState」
的人也找了:
//=$keyword?>
Visibilitychange
Page Visibility API
Page Lifecycle API
onVisibilityChange
Pagehide
Pageshow
Document hasFocus
Pageshow event