Old Reddit: Simple Filter

Filter subreddits, users, websites and topics

作者
flightless22
今日安裝
0
安裝總數
43
評價
0 0 0
版本
2019.8.14
建立日期
2022-04-19
更新日期
2022-04-19
尺寸
5.2 KB
授權條款
MIT
腳本執行於

Old Reddit: Simple Filter



Currently
- Supports old.reddit.com only
- Filters have to be manually configured inside the script


Filter format syntax must be kept intact or the whole thing breaks, each filter is enclosed in quotes and separated by commas
Filters do not need '/r/' or '/u/' prefix


Default config:
var subreddit_filter = [];
var user_filter = [];
var title_filter = [];
var site_filter = [];
var subreddit_filter_on = true;
var user_filter_on = true;
var title_filter_on = true;
var site_filter_on = true;
var debug = false;




Example setup:

var subreddit_filter = ["news", "politics", "funny", "etc", "etc"];
var user_filter = ["reddit", "etc"];
var site_filter = ["independent.co.uk","thesun.co.uk", "etc", "etc"];
var title_filter = [/regexp[0-9]/i, "text", "text", /regexp/i, "etc"] ;


Note that 'title_filter' supports text and regular expression

Press F12 to check console log to see what is blocked

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址