Channel Block list visual bug🐞
Concise Description
With the channel block list enabled, I expect it to completely hide the channel videos in my search results. But its partially hidden and looks awkward when scrolling. Attached a video demonstrating the issue
https://github.com/user-attachments/assets/16f214f1-9647-4064-b3ae-d68c314dc2ca
Browser/s
Brave
Other Browser:
No response
'Steps to reproduce' - Which of our features is required for the bug to happen?
Enable the block list feature and add a channel to block list.
Since when?
idk, i decided to enable it and noticing now
Does the bug still happen when you log out of YouTube?
Yes
..No? Then please paste your yt.config_.EXPERIMENT_FLAGS. Twice (With the error & Without)
No response
Are any errors or related log-messages shown in the Browser-Console? (F12)
None
Tested as the only active extension? (incognito mode or another browser users):
Yes
Expected preferred behavior:
Adding a channel to block list completely removes its video ui (elements? whatever) from search results.
ImprovedTube Version
4.2081
Your Settings (From the Extension's ⋮-Hamburger menu > Settings > Backup & reset > Export settings)
{ "add_scroll_to_top": true, "analyzer_activation": true, "blocklist": { "channels": { "MrBeast": { "preview": "https://yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s160-c-k-c0x00ffffff-no-rj", "title": "MrBeast", "when": 17919162 } }, "videos": {} }, "blocklist_activate": true, "blocklist_dislike_trigger": true, "channel_default_tab": "/videos", "disable_thumbnail_playback": true, "hide_voice_search_button": true, "lastDarkTheme": "dark", "lastLightTheme": "default", "open_new_tab": true, "player_auto_continue_watching": false, "prevent_shorts_autoloop": true, "redirect_shorts_to_watch": true, "related_videos": "hidden", "remove_member_only": false, "remove_related_search_results": true, "remove_shorts_reel_search_results": true, "theme": "dark" }
Your YouTube-Document
No response
OS / Device:
Fedora 44 on a Laptop
Hi! I'd like to work on this. I'm investigating how the channel blocklist hides videos in search results and will open a PR once I have a fix.
I looked into this: blocked videos are intentionally collapsed and dimmed (opacity .15, max-height 120px in search) and expand on hover, so you can unblock them. That's why they look partially hidden and jump around while scrolling.
My plan is to add a new blocklist option, "Hide blocked videos completely" (off by default), that uses display: none instead of collapsing. The current behavior stays the default. Let me know if you'd prefer a different approach!
3. I looked into this: blocked videos are intentionally collapsed and dimmed (opacity .15, max-height 120px in search) and expand on hover, so you can unblock them. That's why they look partially hidden and jump around while scrolling. My plan is to add a new blocklist option, "Hide blocked videos completely" (off by default), that uses display: none instead of collapsing. The current behavior stays the default. Let me know if you'd prefer a different approach!
lgtm looking forward to this
Thanks! The PR is up: #4392. Feel free to test it if you'd like.
Thanks! The PR is up: #4392. Feel free to test it if you'd like.
~I feel bad to trouble you like this coz i dont have access to a pc rn.~ nvm i have a pc access now and installed nodejs and decided to fix it myself but i am kinda lost where and what edit do i make im a computer science student learning C and Rust. web dev aint my thing cant find any meaningful architecture guides/dev guides any help?
But i still see some gap and a number of the hidden video. mind addressing that too?
ive tried my best to mark it.
Thanks for testing and for the screenshot! You're right: the video itself is hidden, but its parent "Latest from
About getting started: there's no build step for development. Clone the repo, open chrome://extensions, enable Developer mode, click "Load unpacked" and select the repo folder. After editing, hit ↻ on the extension and reload the YouTube tab. Rough layout:
menu/skeleton-parts/: the extension menu (each option is an object there)_locales/en/messages.json: the menu's text stringsjs&css/extension/: CSS and content scriptsjs&css/web-accessible/: scripts that run inside the YouTube page
Every setting is mirrored as an it-<setting-name> attribute on <html>, so many features are just CSS rules keyed on that attribute. The diff of #4392 is a small example of all three pieces.
Fixed in #4392: when every video in a search shelf (like "Latest from
Note: the channel card and channel playlists in search results are not videos, so the blocklist doesn't cover them (that was already the case before this PR).
OMG THIS IS PERFECT I also checked the commits this was easier than i thought 😅 Thanks for the guidelines will try to contribute in future 🙂
PS: While the devs take their time to merge this Ill patch the extension myself and use a dev build of it
Appreciate it man, glad I could help!