🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Block Youtube Users

Hide videos of blacklisted users/channels and comments

Você precisará instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

You will need to install an extension such as Tampermonkey to install this script.

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Você precisará instalar uma extensão como o Tampermonkey para instalar este script.

Você precisará instalar um gerenciador de scripts de usuário para instalar este script.

(Eu já tenho um gerenciador de scripts de usuário, me deixe instalá-lo!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

(Eu já possuo um gerenciador de estilos de usuário, me deixar fazer a instalação!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
Schegge
Instalações hoje
3
Total de instalações
10.817
Avaliações
62 10 13
Versão
2.6.2.4
Criado
19/07/2015
Atualizado
04/09/2025
Tamanho
18 KB
Compatibilidade
Compatível com Firefox
Licença
N/A
Aplicável a

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

Known bug

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