YouTube – Set Custom Number of Videos per Row

after a unwanted change from 4 to 3 vids per row I've to spend time correcting their hiccup

Author
MaxBrandner
Daily installs
0
Total installs
9
Ratings
0 0 0
Version
2025-07-23
Created
2025-07-23
Updated
2025-07-23
Size
2.05 KB
License
MIT
Applies to

Allows you to define how many videos are shown per row on the YouTube homepage, subscriptions tab, ...
Just change the "desiredItemsPerRow" in line 17 to your desired value. It's set so 4 by default.
By setting a the number of items per Row only the thumbnails scale nicely (channel icons don't). You can zoom out in your browser to make bigger custom values look nicer.