Old Reddit: Simple Filter

Filter subreddits, users, websites and topics

Auteur
flightless22
Nombre d'installations quotidiennes
0
Nombre d'installations
42
Évaluations
0 0 0
Version
2019.8.14
Créer
2022-04-19
Mis à jour
2022-04-19
Licence
MIT
S'applique à

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