YT Comment Filter (Improved)

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

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey, Greasemonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да инсталирате разширение, като например Tampermonkey .

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Userscripts.

За да инсталирате скрипта, трябва да инсталирате разширение като Tampermonkey.

За да инсталирате този скрипт, трябва да имате инсталиран скриптов мениджър.

(Вече имам скриптов мениджър, искам да го инсталирам!)

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

(Вече имам инсталиран мениджър на стиловете, искам да го инсталирам!)

Автор
Mochamad Adi
Инсталации дневно
0
Инсталации общо
14
Рейтинг
0 0 0
Версия
6.2
Създаден
30.11.2025
Обновен
02.12.2025
Размер
30 КБ
Съвместимост
Съвместим с Firefox Съвместим с Chrome Съвместим с Opera Съвместим с Safari Съвместим с Edge
Лиценз
MIT
Работи на

🛡️ 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.