Greasy Fork is available in English.

Old Reddit: Simple Filter

Filter subreddits, users, websites and topics

Autore
flightless22
Installazioni giornaliere
0
Installazioni totali
37
Valutazione
0 0 0
Versione
2019.8.14
Creato il
19/04/2022
Aggiornato il
19/04/2022
Licenza
MIT
Applica a

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