Block Youtube Users

Hide videos of blacklisted users/channels and comments

< Opinie na Block Youtube Users

Pytanie/komentarz

§
Napisano: 11-07-2025

YouTube has updated the interface to sidebar of recommended videos and this invalidated the scripts. Nevertheless, main page is still working.

§
Napisano: 11-07-2025

Just replace these two blocks, i fix a few days ago new selectors.

const Where = {
renderer: `ytd-rich-item-renderer,
ytd-video-renderer,
ytd-channel-renderer,
ytd-playlist-renderer,
ytd-playlist-video-renderer,
ytd-playlist-panel-video-renderer,
ytd-movie-renderer,
.ytp-videowall-still.ytp-suggestion-set.ytp-videowall-still-round-medium,
ytd-compact-video-renderer,
ytd-compact-movie-renderer,
ytd-compact-radio-renderer,
ytd-compact-autoplay-renderer,
ytd-compact-playlist-renderer,
ytd-grid-video-renderer,
ytd-grid-playlist-renderer,
ytd-secondary-search-container-renderer,
yt-lockup-view-model
${Values.storageVideoOwner ? ', ytd-video-owner-renderer' : ''}
${Values.storageComment ? ', ytd-comment-view-model.ytd-comment-replies-renderer, ytd-comment-view-model.ytd-comment-thread-renderer' : ''}`,

and


user: `#metadata > :not([hidden]) #text.ytd-channel-name,
#channel-info #text.ytd-channel-name,
#channel-title.ytd-channel-renderer span.ytd-channel-renderer,
#info #text.ytd-channel-name,
#metadata #subscribers.ytd-channel-renderer,
#byline.ytd-playlist-panel-video-renderer,
yt-simple-endpoint[href^="/@"],
yt-formatted-string#text[title],
.yt-content-metadata-view-model-wiz__metadata-row span.yt-core-attributed-string a[href^="/@"],
.yt-content-metadata-view-model-wiz__metadata-row span.yt-core-attributed-string a[href^="/channel/"],
.yt-content-metadata-view-model-wiz__metadata-text:last-of-type
${Values.storageVideoOwner ? ', #owner #upload-info #channel-name #text.ytd-channel-name' : ''}
${Values.storageComment ? ', #author-text span.ytd-comment-view-model, #name #text.ytd-channel-name' : ''}`,

§
Napisano: 22-07-2025

@Retardoskop YT Thanks for help.

A new issue in v2.6.2.2: Shorts in sidebar would get invisible once "unpaused" the blacklist even though users didn't check the option "Hide all Shorts".

§
Napisano: 22-07-2025

@Retardoskop YT Thanks for help.

A new issue in v2.6.2.2: Shorts in sidebar would get invisible once "unpaused" the blacklist even though users didn't check the option "Hide all Shorts".

Sorry for this inconvenience, shorts are bloatware for me and I have them permanently hidden. I recommend an extension called Youtube Tweaks, you will be able to precisely set what you want and what you don't want to see.

I haven't been able to modify the code to hide the videos from the end screen yet, so I've managed to get rid of it using JS and CSS.

".html5-endscreen.ytp-player-content.videowall-endscreen.ytp-show-tiles"

https://ibb.co/c9v8pS0

§
Napisano: 24-07-2025

Thanks for response.

§
Napisano: 25-07-2025

@Retardoskop YT Thanks for help.

A new issue in v2.6.2.2: Shorts in sidebar would get invisible once "unpaused" the blacklist even though users didn't check the option "Hide all Shorts".

where do i put this script, im a bit new to this thing?

§
Napisano: 27-07-2025

where do i put this script, im a bit new to this thing?

First, install Tampermonkey extension from Firefox Browser Add-ons website and then you could click "Install this script" green button from its main page.

Odpowiedz

Zaloguj się, by odpowiedzieć.