Y
Hacker News
new
|
ask
|
show
|
jobs
by
Kyotoku
3798 days ago
Is there a reason why javascript can't track if the page is on the front or in the back?
1 comments
asher_
3798 days ago
It can.
https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibi...
link
https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibi...