Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Aardwolf
· 5y ago · 0 comments
Doesn't chrome already suspend background tabs without plugin? At least I'm unable to properly have browser games running unless they're in a visible tab.
Comments
[–]
rolfvandekrol
5y ago
Browser games, implemented in Javascript, usually depend on requestAnimationFrame, which is not executed in background tabs. See
https://developer.mozilla.org/en-US/docs/Web/API/window/requ...
for more info.