Skip to content

Youtube Recommendations Blocker by 0ffz

Details

Author0ffz

LicenseCC Zero

Categoryyoutube

Created

Updated

Size1.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Just blocks home page and sidebar recommendations both on desktop and mobile.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Youtube Recommendations Blocker
@version      20220712.17.38
@namespace    userstyles.world/user/0ffz
@description  Just blocks home page and sidebar recommendations both on desktop and mobile.
@author       0ffz
@license      CC Zero
==/UserStyle== */

@-moz-document domain("youtube.com") {
/* On any page */

/* Hide home and shorts buttons */
ytm-pivot-bar-renderer > ytm-pivot-bar-item-renderer:nth-of-type(2), ytm-pivot-bar-renderer > ytm-pivot-bar-item-renderer:nth-of-type(1) {
    display: none;
}

/* Hide channel list */
ytm-channel-list-sub-menu-renderer {
    display: none;
}
}

@-moz-document url("https://www.youtube.com/"), url("https://m.youtube.com/") {
/* On homepage*/

/* Block all recommendations homepage*/
.ytd-page-manager, ytm-browse {
    display: none;
}
}

@-moz-document url-prefix("https://m.youtube.com/watch"), url-prefix("https://www.youtube.com/watch") {

/* On video page*/

/*Block recommended sidebar*/
ytm-item-section-renderer, ytd-watch-next-secondary-results-renderer {
    display: none;
}

/* Block more videos bar on mobile */
.fullscreen-controls {
    display: none;
}

.fullscreen-more-videos-endpoint {
    display: none;
}

/* Hide comments and channel button */
ytm-slim-video-action-bar-renderer, ytm-slim-owner-renderer, ytd-comments {
    display: none;
}

}

Reviews

No reviews yet.