old.reddit.com regex Post Filter (Block subreddits by regex, users, block titles by regex)

Filters posts on old.reddit.com by subreddit, user, or title regex. Persistently stores all rules and hides or colors posts with minimal CPU usage.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
jjenkx
今日安裝
0
安裝總數
2
評價
0 0 0
版本
1.0
建立日期
2025-11-23
更新日期
2025-11-23
尺寸
13.6 KB
授權條款
MIT
腳本執行於

This script adds a powerful, low-overhead filtering system to old.reddit.com. It lets you permanently hide or highlight posts based on subreddit, username, or title text using exact matches or regex patterns. All rules are stored persistently and apply instantly to newly loaded posts without reloading the page.

Filtering works in two modes:
Filters Enabled: matching posts are fully hidden.
Filters Disabled: matching posts remain visible but are color-coded to show which rule triggered.

The script uses lightweight caching and a minimal mutation observer for very low CPU impact even on infinite scroll pages.

Features:

Block specific subreddits permanently.

Block specific users permanently.

Add subreddit regex rules that match patterns instead of fixed names.

Add title regex rules for flexible keyword or pattern filtering.

Persistent storage of all lists using GM storage.

Optional color highlighting when filters are turned off so you can inspect why a post matched.

Toggle button for enabling or disabling all filters without removing them.

Inline buttons on each post to block or unblock the post’s subreddit or author with one click.

Live processing of newly loaded posts through a minimal mutation observer to avoid CPU spikes.

Full menu interface through Tampermonkey for adding, removing, listing, or clearing regex rules.

Usability:

Works automatically once installed.

All rule changes take effect instantly without page reload.

All lists remain stored until edited or cleared.

Very efficient even on large subreddits, long sessions, or heavy browsing.