Block Youtube Users

Hide videos of blacklisted users/channels and comments

< 脚本 Block Youtube Users 的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发布于:2025-07-08

HERE IS FIX:
Script is broken again but here is solution, i simply add new selector :)
( .yt-content-metadata-view-model-wiz__metadata-text:last-of-type )



here is fixed section, just replace this section and side recommended will be blocked too.

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-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' : ''}`,

Schegge作者
§
发布于:2025-07-08

Thank you, I will add it in the next update

§
发布于:2025-07-08

Thank you, I will add it in the next update

Search page is broke too.. here is complete repair, but i cant target endscreen offers.

i add zwo selectors a.yt-simple-endpoint[href^="/@"], and .yt-content-metadata-view-model-wiz__metadata-text:last-of-type

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,
a.yt-simple-endpoint[href^="/@"],
.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' : ''}`,

发布留言

登录(不可用)以发布留言。

长期地址
遇到问题?请前往 GitHub 提 Issues。