Skip to content

youtube.com - Hide metrics by ajhall

Screenshot of youtube.com - Hide metrics

Details

Authorajhall

LicenseUnlicense

Categoryyoutube

Created

Updated

Size1.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hide metrics (view counts, like counts, etc.) from YouTube pages.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           youtube.com - Hide metrics
@namespace      github.com/ajhall
@version        1.0.10
@description    Hide metrics (view counts, like counts, etc.) from YouTube pages.
@author         ajhall
==/UserStyle== */
@-moz-document domain("youtube.com") {
  #owner-sub-count,
  #subscriber-count,
  #thumbnail-attribution,
  #info #count,
  #info-text #info-strings #dot,
  ytd-browse #metadata-container #metadata-line span:first-child,
  ytd-browse #metadata-container #metadata-line span:first-child + span:before,
  ytd-video-meta-block #metadata-line span.inline-metadata-item:nth-child(3),
  #metadata-line span.inline-metadata-item:before,
  #vote-count-middle,
  #count.ytd-comments-header-renderer yt-formatted-string.count-text span.yt-formatted-string:first-child,
  #metadata #subscribers,
  #segmented-like-button .cbox,
  #metadata #subscribers + #dot,
  #description #info span:first-child,
  #description #info span:first-child + span,
  #video-info span:nth-child(1),
  #video-info span:nth-child(2),
  #view-count,
  ytd-video-description-infocards-section-renderer #subtitle,
  ytd-watch-info-text tp-yt-paper-tooltip,
  .ytd-channel-renderer #video-count
  {
    display: none !important;
  }

  #metadata-line span.inline-metadata-item:nth-child(3) ytd-video-meta-block.grid.style-scope.ytd-rich-grid-media.byline-separated {
    display: inline !important;
  }

  ytd-browse #metadata-container #metadata-line span:only-of-type {
    display: inline !important;
  }

  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
  }
}

Reviews

No reviews yet.