Beantin webbkommunikation

Beantin Beta Blog

Experiments, investigations, and tests of web things
November 5, 2012

Page visibility: pause when your web page isn’t visible

The Page Visibility API is a way for you to (programatically) ask the browser whether your webpage is currently visible or not. Running scripts, videos, refreshes, etc when your webpage is minimised or open in a tab that’s not being viewed is a waste of CPU.

Continue reading »

Theme Beantin created by James Royal-Lawson. Privacy Policy