This userscript will disable and tweak some more of the functionally, forcing h.264 codec on all videos along with other tweaks to cut down on system resources.
The userscript version of this will disable most of config flags (including ambient mode and animations), prevent autoplay on channel trailers, disable the autopause feature to continue watching videos without touching the mouse/keyboard, forcing h.264 videos to reduce CPU usage when watching videos in 60fps along with CSS tweaks to it.
Optional scripts was required here:
YT Super Fast Chat - https://greasyfork.org/scripts/469878
YT Boost Chat (Mem Leak Fixes) - https://greasyfork.org/en/scripts/520755
Credits goes to the authors who made this userscript (patch collection by AdashimaaTube, de-autoplay channel trailer by Blank, non-stop video playback by q1k, forcing h264 videos by JeffersonScher and others that suggested by CY Fung and Joey_JTS).