Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Kyotoku
· 10y ago · 0 comments
Is there a reason why javascript can't track if the page is on the front or in the back?
Comments
[–]
asher_
10y ago
It can.
https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibi...