This script optimizes YouTube's performance by modified configs and much more!
These are the instructions that you could read here.
Make sure you install an ad blocker extension like uBlock Origin (or AdGuard, AdBlocker Ultimate, or Brave Browser) so it will remove ads fully.
These are the scripts are optional to install here after you installed this script.
Extra tweaks for YouTube - https://greasyfork.org/scripts/549335
YouTube CPU Tamer by AnimationFrame (for users who have HW enabled) - https://greasyfork.org/scripts/431573
or YouTube CPU Tamer by DOMMutation (for users who have HW disabled) - https://greasyfork.org/en/scripts/494219
Bonus scripts to install (for advanced users).
YouTube JS Engine Tamer - https://greasyfork.org/scripts/473972
YouTube Super Fast Chat - https://greasyfork.org/scripts/469878
If you want to improve more tweaks and remove unwanted popups, here is the list of tweaks that you can apply here.
https://pastebin.com/0Qtubr5M *Or even you can paste the Joey_JTS's filters here: https://pastebin.com/5L2wahXV *
For more advanced users, Just turn off "keep hovering to play" popup. Instructions here.
https://gist.github.com/matter-it-does/bc3acea114ef3962973de54fba57509a