Skip to content

Instantly share code, notes, and snippets.

@act65
Last active March 18, 2019 13:06
Show Gist options
  • Save act65/22e2188d3fe45731d68f0910ab1ba2de to your computer and use it in GitHub Desktop.
Save act65/22e2188d3fe45731d68f0910ab1ba2de to your computer and use it in GitHub Desktop.
css script for stylish (userstyles.org) to block youtube recommendations
/* Watch next sidebar */
#related.ytd-watch { display: none; }
/* Comments */
/* ytd-comments { display: none; } */
/* Watch next panel over the that has just finished */
.ytp-endscreen-content { display: none; }
/* Suggesting videos whilst the current one is starting */
.ytp-cards-teaser { display: none; }
/* Suggesting videos whilst current video is playing */
.ytp-ce-element-show.ytp-ce-bottom-left-quad { display: none; }
/* Centralize videos */
/* #top.ytd-watch { position: relative; left: 195px; } */
/* Misc crap - Share, thumbs up/down, */
/* #menu-container .ytd-video-primary-info-renderer { display: none; } */
/* Advertising concert tickets */
#ticket-shelf { display: none; }
/* Subscribe button */
/* #subscribe-button { display: none !important; } */
/* Home page videos */
/* .ytd-browse { display: none; } */
/* .ytd-c4-tabbed-header-renderer { display: none} */
.ytd-shelf-renderer { display: none }
/* .ytd-item-section-renderer { display: none} */
/* Home page sidebar */
/* #guide { display: none; } */
/* Alerts/notifications */
/* .notification-button-style-type-default { display: none; } */
/* The other icons */
/* ytd-topbar-menu-button-renderer yt-icon { display: none; } */
/* Subscriptions */
/* ytd-guide-section-renderer:nth-of-type(3) { display: none; } */
/* YouTube Red */
ytd-guide-section-renderer:nth-of-type(4) { display: none; }
/* Trending */
ytd-guide-entry-renderer:nth-of-type(2) { display: none; }
/* (i) in the top right */
/* .ytp-cards-button-icon-default { display: none; } */
/* Subscribe button with logo */
/* .annotation.annotation-type-custom.iv-branding { display: none; } */
/* Video annotations */
/* .annotation, .video-annotations { display: none !important; } */
@act65
Copy link
Author

act65 commented Jun 30, 2018

image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment