Greasy Fork

Greasy Fork is available in English.

Block Youtube Users

Hide videos of blacklisted users/channels and comments

作者
Schegge
日安装量
3
总安装量
10,493
评分
57 10 13
版本
2.5.3.3
创建于
2015-07-19
更新于
2025-04-03
大小
15.9 KB
许可证
暂无
适用于

BLOCK YOUTUBE USERS

BYU Menu

  • It hides videos from users/channels that have been blacklisted from home, searches, related, and comments

    • From playlists too, but it won't stop them from playing if it is set to autoplay
  • Put a * at the start of a word to use it as a wildcard (only in the blacklist): It will find the word no matter where it is in the username

    • When you use it, but you want to see a channel with that specific word in the name, you can add it to the whitelist
    • example:
      • blacklist: *news
      • whitelist: BBC news, DW news
  • It is not case-sensitive

  • Don't forget to save

  • You can open or close the menu in two ways: either by clicking on 'B' or by pressing Ctrl + Alt + B.

Options

  • pause: To temporarily pause the blacklist. To turn it back on, just click on it again or reload the page

  • separator: The symbol that separates the usernames. The default is a comma, * and " aren't allowed, min-max 1 character

  • timer: How often the script checks for new elements on the page. The default setting is 1000 milliseconds, min is 500 ms. You need to reload the page after saving changes

  • comments: Hide comments option. You need to reload the page after saving changes

  • pause video: From a direct link to youtube, it will pause the video if it's blacklisted

  • right click add: To add [x] buttons in front of usernames that can be right-clicked to block them

    • In any case, these buttons are displayed automatically when the "B" menu is open

Known bug

  • It won't block channels with the separator symbol in their name. Either use a wildcard or change the separator.

Author's note

Please note that I usually only test the script with Tampermonkey on Firefox, and that I won't install Chrome on my computer. This means that I may not be able to replicate the issues you are experiencing. Sorry.

Also, the script may break if YouTube makes any changes, and I can't fix it until it changes for me too.

Moreover, I no longer use this, so it may take me some time to notice when it breaks.

However, you can adapt the script to suit your needs. Feel free to post your own version on Greasy Fork. I don't mind.