Hide videos of blacklisted users/channels and comments
< Feedback on Block Youtube Users
What do you mean by "diagonal" video?
What bug are you experiencing? Does the whole script not work on any page, or only to the related videos like your screenshot?
In the code of this script in your script manager, replace line 126 with this userFailSafe: 'a[href^="/@"], a[href^="/channel/"], .ytd-channel-name a, .yt-content-metadata-view-model-wiz__metadata-row:first-child span.yt-core-attributed-string',
The x buttons aren't going to appear, but if the channel is blacklisted it should be hidden.
It seems to be A/B testing and if this is the case, I can't do more unless youtube changes for me too.
What do you mean by "diagonal" video?
What bug are you experiencing? Does the whole script not work on any page, or only to the related videos like your screenshot?
In the code of this script in your script manager, replace line 126 with thisuserFailSafe: 'a[href^="/@"], a[href^="/channel/"], .ytd-channel-name a, .yt-content-metadata-view-model-wiz__metadata-row:first-child span.yt-core-attributed-string',
The x buttons aren't going to appear, but if the channel is blacklisted it should be hidden.
It seems to be A/B testing and if this is the case, I can't do more unless youtube changes for me too.
I made a mistake, I meant vertical — the one you find along the length, on the side of the video, on the right.
I just added your line of code at line 126. This doesn't change anything at all. It doesn't filter anything.
Then the script may not be working at all but I can't test it if youtube doesn't show me the different layout, sorry
It's not a big deal, I went back to my old account in the meantime. Otherwise, it feels like they've deliberately reduced the number of lines, and now the thumbnails and the descriptions, titles, etc., are separated into two distinct blocks. I've been using that interface for about three weeks now.
Otherwise, I haven't noticed any physical difference in this interface. Possibly, it's minimal—just a few pixels at most.
Hello, I'm French and I've noticed a bug in the script. It happens with diagonal videos when watching YouTube videos, specifically on "/watch" pages.
ChatGPT suggests it might be A/B testing, because when I switch accounts, it works properly. I can send you the HTML code of what it does, in case it's something that can be fixed.
Thanks in advance.
<yt-lockup-view-model class="ytd-item-section-renderer lockup"><div class="yt-lockup-view-model-wiz yt-lockup-view-model-wiz--horizontal yt-lockup-view-model-wiz--compact"><a href="/watch?v=2eLN5hzyWl8" rel="nofollow" class="yt-lockup-view-model-wiz__content-image" aria-haspopup="false" tabindex="-1" aria-hidden="true" style="width: 168px;"><yt-thumbnail-view-model class="yt-thumbnail-view-model yt-thumbnail-view-model--aspect-ratio-16-by-9 yt-thumbnail-view-model--medium"><div class="yt-thumbnail-view-model__image"><img alt="" class="yt-core-image yt-core-image--fill-parent-height yt-core-image--fill-parent-width yt-core-image--content-mode-scale-aspect-fill yt-core-image--loaded" src="https://i.ytimg.com/vi/2eLN5hzyWl8/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLDZaiup4g3uIt_AAqcxOcmAFEF1gg"></div><yt-thumbnail-overlay-badge-view-model class="yt-thumbnail-overlay-badge-view-model-wiz yt-thumbnail-overlay-badge-view-model-wiz--bottom-end yt-thumbnail-overlay-badge-view-model-wiz--medium"><yt-thumbnail-badge-view-model class="yt-thumbnail-badge-view-model-wiz yt-thumbnail-overlay-badge-view-model-wiz__badge"><badge-shape class="badge-shape-wiz badge-shape-wiz--thumbnail-default badge-shape-wiz--thumbnail-badge"><div class="badge-shape-wiz__text">25:18</div></badge-shape></yt-thumbnail-badge-view-model></yt-thumbnail-overlay-badge-view-model><!----><!----></yt-thumbnail-view-model></a><div class="yt-lockup-view-model-wiz__metadata"><yt-lockup-metadata-view-model class="yt-lockup-metadata-view-model-wiz yt-lockup-metadata-view-model-wiz--horizontal yt-lockup-metadata-view-model-wiz--compact"><div class="yt-lockup-metadata-view-model-wiz__avatar"><yt-decorated-avatar-view-model class="yt-decorated-avatar-view-model-wiz"><yt-avatar-shape><div class="yt-spec-avatar-shape yt-spec-avatar-shape__button yt-spec-avatar-shape__button--button-medium yt-spec-avatar-shape__button--tappable" aria-label="Accéder à la chaîne" role="button" tabindex="0"><div class=""><div class="yt-spec-avatar-shape--avatar-size-medium"><img alt="" class="yt-core-image yt-spec-avatar-shape__image yt-core-image--fill-parent-height yt-core-image--fill-parent-width yt-core-image--content-mode-scale-to-fill"><div class="yt-spec-avatar-shape__image-overlays yt-spec-avatar-shape__image"></div></div></div></div></yt-avatar-shape></yt-decorated-avatar-view-model></div><div class="yt-lockup-metadata-view-model-wiz__text-container"><h3 class="yt-lockup-metadata-view-model-wiz__heading-reset" title="Bigflo démonte Ici Japon Corp pendant 25 minutes 17 secondes"><a href="/watch?v=2eLN5hzyWl8" rel="nofollow" class="yt-lockup-metadata-view-model-wiz__title" aria-haspopup="false" aria-label="Bigflo démonte Ici Japon Corp pendant 25 minutes 17 secondes 25 minutes" style=""><span class="yt-core-attributed-string yt-core-attributed-string--white-space-pre-wrap" role="text">Bigflo démonte Ici Japon Corp pendant 25 minutes 17 secondes</span></a></h3><div class="yt-lockup-metadata-view-model-wiz__metadata"><yt-content-metadata-view-model class="yt-content-metadata-view-model-wiz"><div class="yt-content-metadata-view-model-wiz__metadata-row"><span class="yt-core-attributed-string yt-content-metadata-view-model-wiz__metadata-text yt-core-attributed-string--white-space-pre-wrap yt-core-attributed-string--link-inherit-color" dir="auto" role="text">Ici Japon Corp.<span class="yt-core-attributed-string--link-inherit-color" dir="auto" style="color: rgb(170, 170, 170);"><span class="yt-core-attributed-string--inline-block-mod" style="margin-left: 4px;"><yt-icon class="yt-core-attributed-string__image-element yt-core-attributed-string__image-element--image-alignment-vertical-center" style="height: 14px; width: 14px;" role="img" aria-hidden="true" aria-label=""><!--css-build:shady--><!--css_build_scope:yt-icon--><!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.core.yt_icon.yt.icon.css.js--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zM9.8 17.3l-4.2-4.1L7 11.8l2.8 2.7L17 7.4l1.4 1.4-8.6 8.5z"></path></svg></div></span></yt-icon></span></span></span></div><div class="yt-content-metadata-view-model-wiz__metadata-row"><span class="yt-core-attributed-string yt-content-metadata-view-model-wiz__metadata-text yt-core-attributed-string--white-space-pre-wrap yt-core-attributed-string--link-inherit-color" dir="auto" role="text" data-yt-original="9,7 k vues">9,7k</span><span class="yt-content-metadata-view-model-wiz__delimiter" aria-hidden="true"> • </span><span class="yt-core-attributed-string yt-content-metadata-view-model-wiz__metadata-text yt-core-attributed-string--white-space-pre-wrap yt-core-attributed-string--link-inherit-color" dir="auto" role="text" data-yt-original="il y a 2 heures">2h</span></div><div class="yt-content-metadata-view-model-wiz__metadata-row yt-content-metadata-view-model-wiz__metadata-row--metadata-row-wrap"><div class="yt-content-metadata-view-model-wiz__badge"><yt-badge-view-model class="yt-badge-view-model-wiz"><badge-shape class="badge-shape-wiz badge-shape-wiz--default"><div class="badge-shape-wiz__text">Nouveau</div></badge-shape></yt-badge-view-model></div></div></yt-content-metadata-view-model></div></div><div class="yt-lockup-metadata-view-model-wiz__menu-button"><button-view-model class="yt-spec-button-view-model"><button class="yt-spec-button-shape-next yt-spec-button-shape-next--text yt-spec-button-shape-next--mono yt-spec-button-shape-next--size-m yt-spec-button-shape-next--icon-button yt-spec-button-shape-next--enable-backdrop-filter-experiment" title="" aria-label="Autres actions" aria-disabled="false" style=""><div aria-hidden="true" class="yt-spec-button-shape-next__icon"><yt-icon style="width: 24px; height: 24px;"><!--css-build:shady--><!--css_build_scope:yt-icon--><!--css_build_styles:video.youtube.src.web.polymer.shared.ui.styles.yt_base_styles.yt.base.styles.css.js,video.youtube.src.web.polymer.shared.core.yt_icon.yt.icon.css.js--><span class="yt-icon-shape style-scope yt-icon yt-spec-icon-shape"><div style="width: 100%; height: 100%; display: block; fill: currentcolor;"><svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24" focusable="false" aria-hidden="true" style="pointer-events: none; display: inherit; width: 100%; height: 100%;"><path d="M12 16.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zM10.5 12c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5zm0-6c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5-1.5.67-1.5 1.5z"></path></svg></div></span></yt-icon></div><yt-touch-feedback-shape style="border-radius: inherit;"><div aria-hidden="true" class="yt-spec-touch-feedback-shape yt-spec-touch-feedback-shape--touch-response"><div class="yt-spec-touch-feedback-shape__stroke"></div><div class="yt-spec-touch-feedback-shape__fill"></div></div></yt-touch-feedback-shape></button></button-view-model></div></yt-lockup-metadata-view-model></div><yt-touch-feedback-shape style="border-radius: inherit;"><div aria-hidden="true" class="yt-spec-touch-feedback-shape yt-spec-touch-feedback-shape--touch-response yt-spec-touch-feedback-shape--is-extended yt-spec-touch-feedback-shape--trigger-events"><div class="yt-spec-touch-feedback-shape__stroke"></div><div class="yt-spec-touch-feedback-shape__fill"></div></div></yt-touch-feedback-shape></div></yt-lockup-view-model>