logoalt Hacker News

madeofpalktoday at 10:07 AM1 replyview on HN

Nice - you’ve just increased significantly power consumption of your browser!

Browsers will “slow down” various aspects of pages when they’re not visible, like animations or timers, to save on battery usage on laptops or phones.

Even if your remove explicit APIs for backgrounding, pages can still use heuristics to detect anyway.


Replies

chiitoday at 10:12 AM

The user should be making the choice - not the website. The website could be informed about being backgrounded, if the user chooses to. But the user should have the priority in the decision chain - their choice overrides any that the website makes.

That is what it means to have control over your own computing.