YouTube CPU Tamer

It just reduces CPU usage on YouTube.

< Feedback on YouTube CPU Tamer

Question/comment

§
Posted: 2021-01-03

Chat freezes after minimizing the window or switching to another tab. (Is this how this script works?)

knoaAuthor
§
Posted: 2021-01-03

Thank you for reporting.

It actually stops to receive chats when the tab got minimized or switched, but as far as I know and in my experience, it also stops by default on YouTube, without my script. It catches up to the latest chat and starts to receive chats when the tab is activated again.

Or does "freeze" mean that it won't restart and completely stop working? If so, how can I reproduce that? I can't reproduce such behavior.

§
Posted: 2021-01-03

It completly stop working
https://a.uguu.se/gxozBHXT.webm

knoaAuthor
§
Posted: 2021-01-07

If you can rewrite the code, try to reduce the BACKGROUNDINTERVAL value on line 50.

const BACKGROUNDINTERVAL = 15*1000;

The browser's default background task interval is once per 1000ms. So if you set the value to 1*1000, the "freeze" wouldn't suppose to occur, but the CPU tamer doesn't reduce CPU load as well.

May it does something progress.

knoaAuthor
§
Posted: 2021-01-09

Can "HIDE and SHOW" the CHAT column work as a temporary solution?

Post reply

Sign in to post a reply.