Greasy Fork is available in English.

Old Reddit: Simple Filter

Filter subreddits, users, websites and topics

Autor
flightless22
Dnevne instalacije
0
Ukupno instalacija
37
Ocene
0 0 0
Verzija
2019.8.14
Napravljeno
19/04/2022
Ažurirano
19/04/2022
Licenca
MIT
Važi za

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