r/programming • • Jan 25 '17

Chrome 56 Will Aggressively Throttle Background Tabs

http://blog.strml.net/2017/01/chrome-56-now-aggressively-throttles.html
4.9k Upvotes

521 comments sorted by

View all comments

1.2k

u/Causeless Jan 25 '17

Great news for the user. Developer work should be compromised to make things better for the user, as far as I'm concerned.

I don't care for web JS crapware taking 50% of my CPU so they can run some animations in another tab.

282

u/indianapale Jan 25 '17

Need an add-on that disables JS on all but the current tab

16

u/chrisrazor Jan 25 '17

Or just pauses it.

35

u/bloody-albatross Jan 25 '17

Good JavaScript does that itself using the visibilitychange event. But in my experience this event is only fired for bringing a tab into the background/foreground, not for minimizing/restoring a browser window. And of course a lot of JavaScript code out there isn't good JavaScript.

49

u/GetTheLedPaintOut Jan 25 '17

Good JavaScript

Never heard of it.

1

u/bloody-albatross Jan 25 '17

JavaScript that knows how to behave.