Greasy Fork is available in English.

YouTube CPU Tamer

It just reduces CPU usage on YouTube.

< Feedback em YouTube CPU Tamer

Pergunta/comentário

§
Publicado: 03/01/2021

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

knoaAutor
§
Publicado: 03/01/2021

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.

§
Publicado: 03/01/2021

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

knoaAutor
§
Publicado: 07/01/2021

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.

knoaAutor
§
Publicado: 09/01/2021

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

Publicar resposta

Faça o login para publicar uma resposta.