Page 1 of 1

Avant do not change document.hidden when tabs is hidden

Posted: Mon Mar 19, 2018 2:31 pm
by moshe l
Avant last, Chromium (but also Firefox).

when the tab (or Avant Browser itself) isn't on focus, document.hidden is still false.
this can save a lot of CPU, as the HTML5 graphics rendeders use this variable to stop animations and less-freq updates when the tab isn't active.

https://developer.mozilla.org/en-US/doc ... ent/hidden