From c2322918aaa916b2937bd66ae7192bc0d6c8c393 Mon Sep 17 00:00:00 2001 From: Tisankan Jeyakumar Date: Sat, 29 Aug 2026 19:52:16 +0530 Subject: [PATCH 1/2] fix(general): restore classic thumbnail metadata under renamed classes YouTube renamed the content metadata view-model classes from the hyphenated "yt-content-metadata-view-model-wiz__" form to camelCase. The classic thumbnail metadata rule still targeted the old names, so the play-triangle icon in front of the view count came back on the watch page sidebar. Add the camelCase leading-icon selector and keep the old selectors for surfaces still served the previous markup. Target the leading icon by name instead of every icon in the row, so the channel verified badge keeps rendering. Closes #4278 --- js&css/extension/www.youtube.com/general/general.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/js&css/extension/www.youtube.com/general/general.css b/js&css/extension/www.youtube.com/general/general.css index b6bb76dc0..0b442671c 100644 --- a/js&css/extension/www.youtube.com/general/general.css +++ b/js&css/extension/www.youtube.com/general/general.css @@ -610,11 +610,18 @@ html[it-larger-thumbnail-metadata='true'] .yt-content-metadata-view-model-wiz__d Hides the play-triangle icon that YouTube inserted in front of the view count on thumbnails. The accompanying JS expands the shortened time-ago text and restores the interpunct delimiter. + + YouTube renamed these view-model classes from the hyphenated + "-wiz__" form to camelCase, which is why the last selector exists. + The hyphenated selectors stay for surfaces still served the old + markup. Target the leading icon by name rather than every icon in + the row, so the channel verified badge keeps rendering. --------------------------------------------------------------*/ html[it-classic-thumbnail-metadata='true'] .yt-content-metadata-view-model-wiz__metadata-row .yt-content-metadata-view-model-wiz__metadata-icon, html[it-classic-thumbnail-metadata='true'] .yt-content-metadata-view-model-wiz__metadata-row yt-icon, html[it-classic-thumbnail-metadata='true'] .yt-content-metadata-view-model-wiz__metadata-text > svg, -html[it-classic-thumbnail-metadata='true'] .yt-content-metadata-view-model-wiz__metadata-text > yt-icon { +html[it-classic-thumbnail-metadata='true'] .yt-content-metadata-view-model-wiz__metadata-text > yt-icon, +html[it-classic-thumbnail-metadata='true'] .ytContentMetadataViewModelMetadataRow .ytContentMetadataViewModelLeadingIcon { display: none !important; } From 466c125746fed4bb068e4daf53d0581c834920c9 Mon Sep 17 00:00:00 2001 From: Tisankan Jeyakumar Date: Thu, 3 Sep 2026 09:45:34 +0530 Subject: [PATCH 2/2] docs(css): date the classic-metadata selectors and note how to update them --- js&css/extension/www.youtube.com/general/general.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js&css/extension/www.youtube.com/general/general.css b/js&css/extension/www.youtube.com/general/general.css index 0b442671c..4a57205f5 100644 --- a/js&css/extension/www.youtube.com/general/general.css +++ b/js&css/extension/www.youtube.com/general/general.css @@ -616,6 +616,11 @@ html[it-larger-thumbnail-metadata='true'] .yt-content-metadata-view-model-wiz__d The hyphenated selectors stay for surfaces still served the old markup. Target the leading icon by name rather than every icon in the row, so the channel verified badge keeps rendering. + + camelCase names observed on watch and results pages, 2026-08. + YouTube renames these every few months, so if the play triangle + reappears, read the row markup first and add the new name here + rather than widening this to every icon in the row. --------------------------------------------------------------*/ html[it-classic-thumbnail-metadata='true'] .yt-content-metadata-view-model-wiz__metadata-row .yt-content-metadata-view-model-wiz__metadata-icon, html[it-classic-thumbnail-metadata='true'] .yt-content-metadata-view-model-wiz__metadata-row yt-icon,