> I can't believe that no web browser has implemented turning JavaScript off after perhaps 10 seconds for example
Chrome added a feature called "Memory Saver" that suspends tabs in the background. I believe other browsers have similar features.