Forcing YT to use advanced tweaks to compile less resources

This userscript will mark both videos and notifications as focus mode, semi-advanced CSS tweaks, forcing h.264 codec on all videos along with other tweaks to prevent most of system resources.

Author
xX_LegendCraftd_Xx
Daily installs
0
Total installs
82
Ratings
0 0 0
Version
2025.10.28
Created
2025-09-13
Updated
2025-10-28
Size
14.3 KB
License
MIT
Applies to

*Works well with any YouTube optimization scripts such as Web Tweaks (both normal and lite versions), Non-Rounded Design 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), disable the number of notifications to prevent annoyances, 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, non-stop video playback by q1k, forcing h264 videos by JeffersonScher and others that suggested by Joey_JTS and CY Fung).