youtube
youtube copied to clipboard
No button to add channels to blocklist
Bug Report:
I've enabled the block list feature but there is no way to add a channel to the blocklist. Looking at previous issues with screenshots like #1378 it might be because YouTube's layout has changed and the area the block button used to go no longer exists.
It would be nice to block channels and videos from the extension pop-up instead so that it isn't tied to YouTube's layout, which changes often.
Browser: Firefox 122 Extension version: 4.615
hi @jahed good point! what about YouTube's blocking feature?
@ImprovedTube I'm using YouTube without being logged in. I found Improved YouTube to be perfect for this use case since I can remove sidebar recommendations, shorts, headers, change home/trending to search etc. for a minimal distraction-free experience. I was hoping to use the blocking feature too to filter click-bait channels from search results.
(hi @Huhni please dont be bothered while these "assignments are based on luck (and history / efficiency maybe).
clickbait
then did you know @jahed https://github.com/MarcGuiselin/youtube-refined? BTW (might lack many updates by now; https://github.com/code-charity/youtube#%EF%B8%8Froadmap )
- while manually orchestrating one's own queries, like in youtube refined, might requires ambitious users maybe meaningful/universal patters to identify something like clickbait can be constructed for many people at once? compare:
https://github.com/code-charity/youtube/blob/bf5b5698ea62ac691edfb6582e0ff9bf47517872/js%26css/web-accessible/www.youtube.com/player.js#L86
album|Álbum|专辑|專輯|एलबम|البوم|アルバム|альбом|앨범|mixtape|concert|playlist|\b(live|cd|vinyl|lp|ep|compilation|collection|symphony|suite|medley- (there are sources for "clickbait identifiers" and AI could help too)
To clarify, this isn't a feature request! I just noticed there's a channel blocking feature in this extension, but no way to actually block channels. So I thought I'd report it as a bug. Feel free to close this issue if it's an unsupported/unmaintained feature.
Since ImprovedYouTube is Firefox-recommended and seemed to have that feature too, I thought I could avoid using another extension. There are extensions like BlockTube that block channels and are somewhat maintained so I can use those instead.
this isn't a feature request
feel free to add one
this isn't a feature request
feel free to add one
combined threads can save time +increase motivation @jahed
-
[ ] when we fix this we can also fix "play-all" https://github.com/code-charity/youtube/blob/727f824c5ae31375e7038fdc80a40aa5136fac41/js%26css/web-accessible/www.youtube.com/channel.js#L24-L30
-
[ ] Previously they were on channel pages only, but buttons will be appreciated next to our other thumbnail buttons and or context-menu (+notification buttons to come #2009 )
Hi, thanks for creating this issue! I have the same usage of ImprovedTube as @jahed 🙂
@ImprovedTube do you have an estimate of when it will be fixed?
Cool avatar @DarckCrystale B)
it-add-to-blocklist added at https://github.com/code-charity/youtube/blob/b412f2dde393dc18e9a3e415ef1e74815ba14984/js%26css/web-accessible/www.youtube.com/blocklist.js#L59
and it works, but the "button" is black on black :) it shows up when you hover over the Thumbnail
https://github.com/code-charity/youtube/blob/b412f2dde393dc18e9a3e415ef1e74815ba14984/js%26css/extension/www.youtube.com/styles.css#L504
and --yt-spec-icon-active-other is #030303 for me = black icon on black background
add channel to blocklist works and is visible on both white and black background:
a youtube update might be causing the missing button on channel pages to @jahed @DarckCrystale, no? @raszpl and this might be the same reason our play-all button doesn't appear to people (https://github.com/code-charity/youtube/issues/1971#issuecomment-1958705961)
might be the same reason our play-all button doesn't appear to people (#1971 (comment))
no, it cant find where to put it
document.querySelector('ytd-channel-sub-menu-renderer #primary-items')
null
document.querySelector('#primary-items')
null
document.querySelector('ytd-channel-sub-menu-renderer')
null
no,
(yes,
since play-all also uses:)
ytd-channel-sub-menu-renderer #primary-items