YouTube Layout Fix

Forces a multi-column grid, fixes grid gaps from ad blockers, hides top ad banner, adjusts text/spacing, & fixes UI bugs. Redesigns search results and optionally hides Shorts.

As of 2025-08-29. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
KaIakaua
Ratings
0 0 0
Version
5.2
Created
2025-04-06
Updated
2025-08-29
Size
35.5 KB
License
MIT
Applies to

THIS CODE IS OPTIMIZED FOR OPERA GX IN MIND. Have not tried it in other browsers.

So this code is possibly a final version of exactly how I want Youtube to look, properly 6 videos per row on feed, the correct spacing between elements, nice text sizes and all that.
I'm sure I will update it for more changes but this seems to be it.
I HAD to do this because for SOME REASON OperaGX doesnt like my previous script doing the same thing, so I had to start again. And i'm using OperaGX because Firefox performance on youtube is so bad. Youtube itself is so bad I can't wait for someone to make a proper good page to watch videos.