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.
>That is what it means to have control over your own computing.
Ah, see, there's the problem. The corpo apologists in the room don't want you to have that. The hardware you bought; err, licensed; to them, is their playground.
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.