Hide Youtube homepage recommendations and tags

Hide Youtube homepage recommendations and the top bar with tags showing the video categories/types

  1. // ==UserScript==
  2. // @name Hide Youtube homepage recommendations and tags
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.6
  5. // @description Hide Youtube homepage recommendations and the top bar with tags showing the video categories/types
  6. // @author babyrager
  7. // @icon https://www.google.com/s2/favicons?domain=greasyfork.org
  8. // @grant none
  9. // @include https://youtube.com/
  10. // @include https://www.youtube.com/
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. document.getElementById('contents').style.display = 'none';
  16. document.querySelector('.ytd-feed-filter-chip-bar-renderer').style.display = 'none';
  17. })();