Greasy Fork 支持简体中文。

Youtube Music fix performance

Try to fix the performance issues that youtube music has

作者
Nemo64
今日安裝
0
安裝總數
478
評價
3 0 0
版本
0.1
建立日期
2021-09-12
更新日期
2021-09-12
尺寸
1.4 KB
授權條款
未知
腳本執行於

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.