Skip to content

Remove unused Stuff(Youtube) by JensW

Screenshot of Remove unused Stuff(Youtube)

Details

AuthorJensW

LicenseWTFPL

Categorywww.youtube.com

Created

Updated

Size4.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Configure, what features you want to see. Can hide:

  • Shorts
  • Premium or Login-only Features
  • Donations
  • Explore
  • Content Creation stuff
  • & more

Notes

Changes:

  • Added option to remove Video Player Channel branding
  • Added Style Preview image
  • Fixed Shorts disabling to include remixes

Source code

/* ==UserStyle==
@name           Remove unused stuff (Youtube)
@namespace      git.llo.dev/jens/stylus-css
@version        1.7
@description    Configure, what features you want to see.
@author         Jens Welsch
@license        WTFPL
@preprocessor stylus
@var checkbox noti "Notifications" 1
@var checkbox voice "Voice Search" 1
@var checkbox ccode "Country-code Logo" 1
@var checkbox shorts "Shorts" 0
@var checkbox sidenav "Useless Side-navigation elements" 1
@var checkbox explore "Explore" 1
@var checkbox create "Upload" 1
@var checkbox chip "Topic filters" 0
@var checkbox donate "Donate" 1
@var checkbox nouser "Login only features" 0
@var checkbox premium "Premium upsell and features" 1
@var checkbox sub "Subscribe" 0
@var checkbox stats "Channel and Video Statistics" 0
@var checkbox mini "Miniplayer button" 0
@var checkbox theatre "Theatre mode button" 1
@var checkbox autoplay "Autoplay" 0
@var checkbox cc "Subtitles Button" 0
@var checkbox psetting "Player settings" 0
@var checkbox fulls "Fullscreen button" 0
@var checkbox volume "Volume control" 0
@var checkbox brand "Channel Branding in Player" 1
==/UserStyle== */

@-moz-document domain("www.youtube.com") {
    if shorts   {#endpoint[title="Shorts"], ytd-rich-item-renderer[is-slim-media],ytd-reel-shelf-renderer {display: none !important}}
    if sidenav  {#endpoint[title="Help"], #endpoint[title="Report history"], #endpoint[title="Send feedback"],  ytd-guide-section-renderer:nth-of-type(4), #guide-content #footer {display: none !important}}
    if explore  {ytd-guide-section-renderer:nth-of-type(3) {display: none !important}}
    if theatre  {.ytp-size-button {display: none !important}}
    if mini     {.ytp-miniplayer-button {display: none !important}}
    if noti     {ytd-notification-topbar-button-renderer {display: none !important}}
    if create   {ytd-topbar-menu-button-renderer.style-default, #endpoint[title="Your videos"] {display: none !important}}
    if voice    {#voice-search-button {display: none !important}}
    if ccode    {#country-code {display: none !important}}
    if autoplay {button[data-tooltip-target-id="ytp-autonav-toggle-button"] {display: none !important}}
    if cc       {.ytp-subtitles-button {display: none !important}}
    if psetting {.ytp-settings-button {display: none !important}}
    if fulls    {.ytp-fullscreen-button {display: none !important}}
    if volume   {.ytp-volume-area {display: none !important}}
    if chip     {yt-related-chip-cloud-renderer, ytd-feed-filter-chip-bar-renderer {display: none !important}}
    if donate   {button[aria-label="Thanks"], #sponsor-button, button[aria-label^="Show your support for"], #contents>ytd-recognition-shelf-renderer, a[title="Patreon"] {display: none !important}}
    if premium  {ytd-menu-service-item-download-renderer, #endpoint[title="YouTube Premium"], #premium-upsell-link > .ytd-video-description-music-section-renderer.style-scope {display: none !important}}
    if sub      {#endpoint[title^="Sub"], #subscribe-button, #subscribe {display: none !important}}
    if brand    {.iv-branding{display: none !important}}
    if stats    {#metadata-line, .meta-item:not(:nth-of-type(1)), #owner-sub-count, #description-inner>#info-container, ytd-comments-header-renderer #count, .published-time-text, #thumbnail-attribution,
                    #vote-count-middle, button[aria-label$=replies], button[aria-label$=reply], ytd-segmented-like-dislike-button-renderer .cbox, .ryd-tooltip-bar-container {display: none !important}}
    
    if nouser   {
        ytd-topbar-menu-button-renderer.style-default[is-icon-button] {display:flex !important}
        button[aria-label^="like"], button[aria-label^="Dislike"] {
            background-color: var(--yt-spec-base-background) !important;
            cursor: default;
        }
        ytd-button-renderer.ytd-masthead, #endpoint[title^="Sub"], #endpoint[title="Settings"], #endpoint[title="Library"], #endpoint[title="History"], ytd-guide-signin-promo-renderer, ytd-guide-section-renderer:nth-of-type(2), #subscribe-button,
                #sponsor-button, a[aria-label="Sign in"], ytd-segmented-like-dislike-button-renderer #tooltip, button[aria-label^="Save"], ytd-comments-header-renderer, #reply-button-end, ytd-comment-action-buttons-renderer #dislike-button,
                ytd-comment-action-buttons-renderer #like-button, yt-live-chat-message-input-renderer, ytd-menu-service-item-download-renderer, #subscribe,ytd-thumbnail-overlay-toggle-button-renderer[aria-label="Watch later"] {
            display: none !important
        }
        
    }
}

Reviews

No reviews yet.