YouTube Filter Titles by Regex. Block Users by list or regex (Hides videos)

Blocks channels, title regex, channel regex. Hides videos that match list or regex

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
jjenkx
Günlük kurulumlar
0
Toplam kurulumlar
3
Değerlendirmeler
0 0 0
Versiyon
1.0
Oluşturulma
27.11.2025
Güncellenme
27.11.2025
Boyut
19 KB
Lisans
MIT
Geçerli

YouTube Filter Guide

YouTube Filter

Short Description and Quick Use Guide

What the Script Does

  • Hides videos by channel name, channel regex, or title regex.
  • Removes videos cleanly with no layout gaps by hiding the correct ytd-rich-item-renderer node.
  • Adds inline Block/Unblock buttons next to channel names.
  • Injects a top-right UI with:
    • Filter ON/OFF toggle
    • Rules panel for editing block lists and regex patterns
  • Stores all settings persistently using userscript storage.
  • Includes a scroll stabilizer to prevent the YouTube grid from jumping when scrolling fast.

How to Use

1. Toggle Filtering

Use the Filter: ON/OFF button in the top-right YouTube header.

  • ON hides matched videos.
  • OFF shows matched videos highlighted in yellow for debugging.

2. Edit Filtering Rules

Click Rules to open the settings panel. It contains:

  • Blocked Channels (newline separated channel names)
  • Channel Regex (one regex per line)
  • Title Regex (one regex per line)

Edit the lists and press Save. The page is immediately re-filtered.

3. Block Channels Inline

Next to every channel name, a small button appears:

  • [Block] adds the channel to the block list.
  • [Unblock] removes the channel from the block list.

No need to open the Rules panel for quick channel blocking.

How Filtering Works

For each video tile, the script:

  • Extracts the channel name.
  • Extracts all visible text from the tile.
  • Checks the channel name against:
    • The exact Blocked Channels list.
    • All Channel Regex patterns.
  • Checks the tile text against all Title Regex patterns.
  • Hides or highlights the tile based on whether filtering is ON or OFF.
  • Automatically processes newly loaded tiles during infinite scrolling.

Tips

  • Use exact channel names for the most common unwanted channels.
  • Use regex for patterns like certain keywords or groups of channels.
  • If something disappears unexpectedly, turn the filter OFF to see which tiles are highlighted and adjust your rules.
  • Keep regex patterns specific to avoid accidentally matching too many videos.