YT Comment Filter (Improved)

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

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
Mochamad Adi
Dagelijks aantal installaties
0
Totaal aantal installaties
13
Beoordelingen
0 0 0
Versie
6.2
Gemaakt op
30-11-2025
Bijgewerkt op
02-12-2025
Grootte
27,5 KB
Comptabiliteit
Compatibel met Firefox Compatibel met Chrome Compatibel met Opera Compatibel met Safari Compatibel met Edge
Licentie
MIT
Wordt toegepast op

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