From 796f0c12b072de1947c61bc23898049393688c4c Mon Sep 17 00:00:00 2001 From: PasttaTypo <125756085+PasttaTypo@users.noreply.github.com> Date: Mon, 2 Sep 2024 12:02:19 -0500 Subject: [PATCH] fix #294 Adds .yt-spec-avatar-shape__image to exceptions --- src/utils/cssInjector.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/cssInjector.ts b/src/utils/cssInjector.ts index 94be77a..3c4b695 100644 --- a/src/utils/cssInjector.ts +++ b/src/utils/cssInjector.ts @@ -81,7 +81,7 @@ function buildHideThumbnailCss(): string { const thumbnailTypes = getThumbnailElements(); for (const thumbnailType of thumbnailTypes) { - result.push(`${start} ${thumbnailType} img:not(.cb-visible, ytd-moving-thumbnail-renderer img, .cbCustomThumbnailCanvas)`); + result.push(`${start} ${thumbnailType} img:not(.cb-visible, ytd-moving-thumbnail-renderer img, .cbCustomThumbnailCanvas, .yt-spec-avatar-shape__image)`); } } @@ -153,4 +153,4 @@ function buildMobileCss(): string { } return ""; -} \ No newline at end of file +}