How to Turn off Youtube Recommendations

[Previous] [Home]

date: 01/17/2019 labels: tech

If you have been distracted by the Youtube's recommended videos on the homepage or the side bar, here is how to turn them off!

Preliminaries: Chrome.
Operating system: Linux (not tested on Windows/Mac).

This method is based on site-specific JavaScript and stylesheets. That is, when you visit a website, you insert your custome JavaScript code or stylesheet for that website to change its appearance or behavior.

Steps:

  • Install Witchcraft following these instructions.
    Witchcraft is a Google Chrome extension for loading custom Javascript and CSS directly from a folder in your file system, injecting them into pages that match their files names.
  • Create a directory to store your custom JavaScript and stylesheet files. For example, I created ~/.chrome-inj, in which -
  • Create the following stylesheet named youtube.com.css:
    
#items #dismissable {

display:none; }

#related {

display:none; }

  • You can also use it for :
    
#pagelet_sidebar .fbChatSidebar {

display: none; height: 10px; overflow: hidden; }

#rightCol {

display: none; }

#bluebarRoot {

}

#fbNotificationsJewel, #fbRequestsJewel, #u_0_d {

display: none; }

#stream_pagelet {

max-height: 700px; overflow-y: scroll; }

Now, how do they look? Click below to see!

Originally posted on 06/06/2019. Last updated on 06/06/2019.