YouTube - Square Corners for Thumbnails and Avatars

Makes YouTube thumbnail image corners square again

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 or Violentmonkey 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!)

/* ==UserStyle==
@name           YouTube - Square Corners for Thumbnails and Avatars
@description    Makes YouTube thumbnail image corners square again
@namespace      lednerg
@version        23.2.5.18
@author         lednerg
@license        CC-BY-NC-SA-4.0
@preprocessor   stylus
@var    checkbox    avatars    "Square avatars?"    1
==/UserStyle== */
@-moz-document domain("youtube.com") {

    #thumbnail,
    #tile-container,
    ytd-post-renderer,
    ytd-post-renderer:before,
    ytd-thumbnail:before,
    .ytd-hero-playlist-thumbnail-renderer,
    .video-stream,
    .html5-video-player,
    .ytp-miniplayer-scrim,
    ytd-channel-video-player-renderer[rounded],
    #player.ytd-channel-video-player-renderer {
        border-radius: 0 !important;
    }
    if avatars {
        #author-photo,
        #avatar,
        #author-thumbnail yt-img-shadow,
        .ytd-guide-entry-renderer,
        #channel yt-img-shadow {
            border-radius: 0 !important;
        }
    }
}