Hide metrics (view counts, like counts, etc.) from YouTube pages.
youtube.com - Hide metrics by ajhall
Details
Authorajhall
LicenseUnlicense
Categoryyoutube
Created
Updated
Size2.6 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name youtube.com - Hide metrics
@namespace github.com/ajhall
@version 2.1.0
@description Hide metrics (view counts, like counts, etc.) from YouTube pages.
@author ajhall
==/UserStyle== */
@-moz-document domain("youtube.com") {
/* explicit IDs */
#owner-sub-count
, #subscriber-count
, #view-count
, #video-count
, #metadata #subscribers
, #metadata #subscribers + #dot
/* Video listings: view counts */
/* Unfortunately this also hides scheduled stream times */
, #metadata-line span.inline-metadata-item:before
, ytd-video-meta-block #metadata #metadata-line span.inline-metadata-item:nth-child(3)
/* Watch page: vote counts on comments */
, #vote-count-middle
/* Watch page: number of comments */
, #count.ytd-comments-header-renderer yt-formatted-string.count-text span.yt-formatted-string:first-child
/* Watch page: sub count on channel info card in expanded video description */
, ytd-video-description-infocards-section-renderer #subtitle
/* Watch page: tooltip when you hover over video description */
, ytd-watch-info-text tp-yt-paper-tooltip
/* Watch page: view count on livestreams */
, #description ytd-watch-info-text yt-formatted-string#info > span:first-child:not(:only-child)
, #description ytd-watch-info-text yt-formatted-string#info > span:first-child:not(:only-child) + span
/* Channel page: view counts */
, ytd-browse #metadata-container #metadata-line span:first-child
, ytd-browse #metadata-container #metadata-line span:first-child + span:before
/* Channel page: view counts on associated channels */
, ytd-item-section-renderer[page-subtype="channels"] #channel #thumbnail-attribution
/* Channel page: subscriber/video count */
, #page-header .yt-content-metadata-view-model-wiz__delimiter
, #page-header yt-content-metadata-view-model div.yt-content-metadata-view-model-wiz__metadata-row:nth-of-type(2) span:first-child
/* Playlist page: view count */
, ytd-two-column-browse-results-renderer[page-subtype="playlist"] #video-info .yt-formatted-string:first-child
, ytd-two-column-browse-results-renderer[page-subtype="playlist"] ytd-video-meta-block #metadata ytd-channel-name + #separator
/* Shorts */
, ytm-shorts-lockup-view-model-v2 div.ShortsLockupViewModelHostMetadataSubhead
{
display: none !important;
}
/* Watch page: like button */
segmented-like-dislike-button-view-model div[class$="text-content"] {
display: none !important
}
segmented-like-dislike-button-view-model .yt-spec-button-shape-next__icon {
margin: 0 !important
}
}