Hacker News new | ask | show | jobs
by nottorp 1310 days ago
Actually I wasn't thinking of bitcoin, but for example of needless auto refreshes and animations.

Seriously, web devs need to learn to respect my battery and electricity bill more.

2 comments

This is just a generic “old man shouting at clouds” complaint at this point. You’re not engaging with the material at all.
This does not do what you think it does. You're tilting at windmills.

It's not about doing stuff in a tab that isn't in focus. "Idle" refers to the main thread idling in the page you're currently using, so it's about controlling the execution order and priority of JS tasks. E.g. on Google Maps you give priority to rendering the visible map tiles while deferring preloading the surrounding non-visible tiles until the main thread is unblocked (and thus idling).