Old Reddit: Simple Filter

Filter subreddits, users, websites and topics

Author
flightless22
Daily installs
0
Total installs
37
Ratings
0 0 0
Version
2019.8.14
Created
2022-04-19
Updated
2022-04-19
License
MIT
Applies to

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