私は、YouTubeに他のフロントエンドを使ってアクセスしています。しかし、フロントエンドが動作しなくなった場合は、YouTubeに直接アクセスする必要があるでしょう。
しかし、YouTubeの見た目は最悪です。これらをある程度パーソナライズするには、アカウントが必要になります。一方で、過去の時点でパーソナライズされたYouTubeのおすすめがひどいと気づいています。パーソナライズされたYouTubeのおすすめは下水道ですが、パーソナライズされていないYouTubeは最悪の地獄です。
ex444.jpgとex444-2.jpgに、今のホームの見た目を示します(
ホーム画面を見ると気が狂いそうになりました。なるべく精神の状態を正気に保つ必要がありました。だから、スタイルを作りました。今まで作ってきたスタイルと目的が少し異なる気がしたので、resize-youtube-grid.user.css
から新しくyoutube-mental-style.user.css
を作成しました。
主に、ホームと視聴ページの動作を重視しています。
ベストプラクティスは、ホームにアクセスしないことです。ただ、対策しておくことに、損はないでしょう。ショーツどころか、動画が軒並み最悪になったら、YouTubeから脱出する機会かもしれません。
Stylus 拡張機能の使用を想定しています。
Stylus拡張機能にuser.cssを適用してもらいます。下記のリンクにアクセスすると、インストールできることを願っております。
Install resize-youtube-grid.user.css
ex444.jpgへスタイル適用後:
I created this UserCSS to adjust the number of videos displayed in YouTube's grid layout.
Instead of specifying the number of videos per row, this style adjusts the width of the thumbnails.
Since the number of videos per row is not fixed, thumbnails will not become squished even if you reduce the browser window's width.
After initially creating this, I found myself wanting to modify other visual aspects as well, so I added a few more tweaks.
If you don't need some of the additional features, please feel free to disable them in the style settings.
To apply this style, please use the Stylus extension.
I have not tested it with other extensions.
You can install it from this link:
Install resize-youtube-grid.user.css
git clone https://github.com/Sumiinix/style-youtube-grid.git
YouTube frequently conducts A/B testing, which may cause this style to stop working.
I have personally encountered cases where the style worked on one account but not on another.
Additionally, since YouTube's layout changes often, some settings might already be outdated.
Recently, I started using alternative frontends to avoid YouTube's excessive algorithm influence, so I use the official YouTube site less frequently now.
As a result, it has become difficult for me to maintain this style.
Feel free to copy, modify, and share this style with anyone who might find it helpful.
When adjusting thumbnail width, ghost cards (placeholders) that appear during grid loading are hidden.
This is because I couldn't make the ghost cards display properly under the modified layout.
The thumbnail width dynamically changes depending on your browser window size, ranging between the values set in "Content Size (px) → Width" and "Content Size (px) → Max Width" in the style settings.
Due to variations in the number of videos per row (e.g., fewer videos because of ad blockers), the last row might have fewer thumbnails than others. In such cases, thumbnails on the last row can appear larger — up to the "Max Width" you set.
If you don't fully understand this behavior, try scrolling to the bottom of your YouTube homepage and observe the thumbnail sizes before new videos load.
If you prefer a consistent thumbnail size regardless of browser width, set the same value for both "Width" and "Max Width" in the style settings.
I recommend using an ad blocker such as the uBlock Origin extension.
The Improve YouTube extension can further enhance your YouTube experience.
You can achieve features that UserCSS alone cannot provide by using UserScripts.
There are extensions such as Violentmonkey, Greasemonkey, and Tampermonkey.
You can find many user-created scripts on greasyfork.org.
You can also find other UserCSS styles by searching on userstyles.world.