YouTube CPU Tamer

It just reduces CPU usage on YouTube.

< Feedback on YouTube CPU Tamer

Review: Good - script works

§
Posted: 2020-12-27

Add @grant none pls :)
How do I simply know whether it is really working or not tho...?

knoaAuthor
§
Posted: 2020-12-27

Yes... I want to add "@grant none" too, but I don't know why the background tasks wouldn't work properly with "@grant none".

It doesn't use any GM functions nor unsafeWindow though, some of the setInterval functions on the opened background tabs simply don't launch with "@grant none" on my test environment, Mac+Chrome+Tampermonkey.

https://wiki.greasespot.net/@grant
https://www.tampermonkey.net/documentation.php#_grant

Anyway, you can compare the CPU reduction with the Task Manager of your browser.

https://www.google.com/search?q=Chrome+task+manager
https://www.google.com/search?q=Firefox+task+manager

In my test cases, the reduction is bigger on Firefox than Chrome, and Mac than Windows.

knoaAuthor
§
Posted: 2021-01-02

Now I added @grant none again.
I solved the background tasks' issue.

Thank you for giving me a hint.

§
Posted: 2021-01-03

Glad u fix that! This actually thanks to my old PC and chrome's flags as I notice it lol
The PC is so old that can be always at 100% CPU usage even in 360p :P

knoaAuthor
§
Posted: 2021-01-03

OOOOOOOOld PC 🤣
Good luck!!

Post reply

Sign in to post a reply.