Block Youtube Users

Hide videos of blacklisted users/channels and comments

Autor
Schegge
Installationen heute
1
Installationen gesamt
10.514
Bewertungen
57 11 13
Version
2.6.1
Erstellt am
19.07.2015
Letzte Aktualisierung
02.06.2025
Größe
17,7 KB
Kompatibilität
Kompatibel mit Firefox
Lizenz
CC-BY-NC-SA-4.0
Wird angewandt auf

Author's note

Please note that I usually only test the script 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.

Feel free to adapt the script to solve your issues and share your version on Greasy Fork. I'm actually encouraging you to do so because I don't know how much longer I can make myself keep fixing this script. It's been 10 years, Youtube keeps making random changes for random people and I'm tired.

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
  • It also hides all shorts if option is enabled

  • Put a * before a word to use it as a wildcard (only in the blacklist): Any usernames containing that word will be blacklisted

    • 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

  • show buttons: Add x buttons in front of usernames that can be clicked to block them

    • In any case, these buttons are displayed automatically when the B menu is open
  • video owner: If x buttons are shown on the video view page, an extra button will also be added to the owner's video name. Even if there are no buttons, the channel name will be hidden if it's blacklisted. You need to reload the page after saving

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

  • comments: Hide comments option: You can add also users' handles to the blacklist and their comments will be hidden. You need to reload the page after saving

  • hide all shorts: Hide all shorts option. You need to reload the page after saving

Known bug

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