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.
*Works well with any YouTube optimization scripts such as Web Tweaks, NRD script with Stylus tweaks included, and more scripts to be applied.*
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, additional JS tweaks such as prevent service worker from running in the background and memory leak prevention to make the experience kinda stable, along with CSS tweaks to make the topbar opaque and others added to it.
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 Joey_JTS and CY Fung).