Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I don't know how to block channels #2393

Open
Silverbloome5920 opened this issue Jun 18, 2024 · 2 comments
Open

I don't know how to block channels #2393

Silverbloome5920 opened this issue Jun 18, 2024 · 2 comments
Labels
Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥

Comments

@Silverbloome5920
Copy link

I've figured out how to block videos but I don't know how to block channels

@Silverbloome5920 Silverbloome5920 added Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Jun 18, 2024
@raszpl
Copy link
Contributor

raszpl commented Jun 19, 2024

You arent the first one asking about it so this needs proper addressing. Current implementation adds tiny inconspicuous "add to blocklist" button next to "Subscribe" on Channel page
#2236 (comment)

well, it should add it .. Except its broken in 4.944 :(

Uncaught TypeError: Cannot read properties of undefined (reading '0Nightlily')
    at ImprovedTube.blocklist (blocklist.js:153:39)

so Thank you for posting the issue! Preparing fix: #2398

As a workaround

  • open Dev console (F12?) on youtube Tab
  • switch to Console tab
  • paste
    var ib = ImprovedTube.storage.blocklist;var channels = ib?.channels || {};var videos = ib?.videos || {};ImprovedTube.messages.send({action: 'set', key: 'blocklist', value: {channels, videos}});
  • hit enter
  • reload page

this should fix the main problem

@Consumedgrub2
Copy link

Is it possible for a block channel button to be added to the mobile version of the site? Some are on android firefox and use m.youtube. You have to force the desktop version of the site in order to see the block channel button. Another thing is if it's also possible to add a button for this to the 3 dot context menu of videos on the recommended page so you don't have to click on the channel page to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥
Projects
None yet
Development

No branches or pull requests

3 participants