Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion js&css/extension/www.youtube.com/general/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down