YouTube - Square Corners for Thumbnails and Avatars

Makes YouTube thumbnail image corners square again

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

/* ==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;
        }
    }
}