YT Comment Filter (Improved)

Automatically hide YouTube comments based on username, specific keywords, and spam text patterns. Features Dual-Mode Observer.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
Mochamad Adi
Instalaciones diarias
0
Instalaciones totales
12
Calificaciones
0 0 0
Versión
6.2
Creado
30/11/2025
Actualizado
2/12/2025
Tamaño
27,5 KB
Compatibilidad
Compatible con Firefox Compatible con Chrome Compatible con Opera Compatible con Safari Compatible con Edge
Licencia
MIT
Funciona en

🛡️ YT Comment Filter (Improved)

Clean up your YouTube comment section! Automatically hide spam, bot comments, repetitive garbage, and toxic content based on usernames, specific keywords, and regex patterns.

Version License

📖 Overview

This Userscript is a powerful tool designed to improve your YouTube viewing experience by filtering out unwanted comments. Unlike simple CSS hiders, this script uses advanced logic to detect spam even when it's disguised with special characters (Leet Speak).

It seamlessly integrates into the YouTube UI, adding a Toggle Button directly to the comments header, allowing you to quickly peek at hidden comments without disabling the script.

✨ Key Features

1. 🧠 Smart "Leet Speak" Detection

Spammers often write "S.L.0.T" instead of "SLOT" to bypass filters. This script automatically generates Regex patterns for your keywords.

  • Input: slot
  • Matches: slot, sl0t, s1ot, 5lot, s|ot, etc.
  • No need to write complex Regex manually!

2. ⚡ High Performance

  • Built with MutationObserver to handle YouTube's dynamic loading (infinite scroll) efficiently.
  • Uses Debouncing to prevent lag during rapid scrolling.
  • Lightweight and optimized for all modern browsers.

3. 🎛️ Native UI Integration

  • Toggle Button: A neat "Eye" icon appears next to the comment count.
    • Status ON: Hides spam. Shows count (e.g., "Hidden: 5").
    • Status OFF: Shows all comments with a red border around the spam ones.
  • Modern Settings Dialog: No need to edit the code! A beautiful, dark-mode compatible menu to add/remove blocked words.

4. 🌍 Global Spam Filter

  • Option to filter out non-Latin characters (e.g., Cyrillic, Arabic, etc.) often used by global bot networks on English/Latin-based videos.

🚀 Installation

  1. Install a Userscript Manager:
  2. Install the Script:
    • Click the Install button on this page.
  3. Refresh YouTube:
    • Open any YouTube video and scroll down to the comments.

⚙️ How to Configure

You can customize the filter lists easily via the Tampermonkey menu:

  1. Click the Tampermonkey icon in your browser extension bar.
  2. Look for YT Comment Filter (Improved).
  3. Choose one of the options:
    • ⚙ Set Blocked Usernames: Add names of bots or users you want to mute.
    • 📝 Set Blocked Keywords: Add words like promo, bet, check my channel, etc.
    • 👁 Toggle Button Check: Force the toggle button to appear if it's missing.

Configuration Format

Simply separate words with a comma.

Example: promo, 18+, free money, click here


📸 Screenshots

1. Toggle Button UI A button to quickly hide/show spam comments. Hidden Toggle Button

2. Settings Dialog A modern settings menu for adding users or keywords you want to block. Settings Menu UI


🛠️ Compatibility

  • Browsers: Chrome, Firefox, Edge, Opera, Brave, Safari (via Userscript manager).
  • Theme: Fully compatible with YouTube Dark Mode and Light Mode.
  • Layout: Works with the new and old YouTube layouts (Polymer).

📝 Changelog

v5.2

  • Improved UI responsiveness.
  • Fixed bug where the toggle button disappeared on navigation.
  • Updated default spam list.

Made with ❤️ for a cleaner YouTube experience.