Greasy Fork is available in English.

Youtube Music fix performance

Try to fix the performance issues that youtube music has

Autor
Nemo64
Installationen heute
0
Installationen gesamt
478
Bewertungen
3 0 0
Version
0.1
Erstellt am
12.09.2021
Letzte Aktualisierung
12.09.2021
Size
1,44 KB
Lizenz
n/a
Wird angewandt auf

This script reduces the impact of a "timerleak".

YouTube music does set up intervals to check for the existance of some scripts but fails to clear those timers. This can easily lead to hundrets of timers that all check every 100ms for the existence of a script, wasting cpu cycles.

This is especially a problem when you use adblock or similar tools but also occurs without any extension, just to a lesser extend.

This script here will limit the amount of intervals, that can run concurrently, to 5.