Social-Blacklist
A reddit moderation app to automate removal of posts based on the configured blacklisted social domains or words( referencing to social media platforms) found in profile links, about description or in posted content. The tool can also remove posts by NSFW users.
It checks against the given set of domains and words in:
- Social Links section of their profile
- Post Link
- Post Body
- Post Comment
- Profile Sticky Post
This is helpful for subreddits where spamming is common by users/bots with a goal to attract visitors to their sites/pages for commercial gain(like content selling platforms, PPV etc.). After installing the app, go to App Settings and configure the list of domains, words/social media references, removal message, and enable/disable settings as per your subreddit requirements. You can also configure this to ban the users after a given number of removals, and to remove posts by users having NSFW profile. To review the removals made by the app, you can enable mod-mail notification on removals through the settings OR review your mod-log for actions made by /u/social-blacklist.

What can this tool do that Automoderator can't?
While Automoderator can also do most of the these things, Automoderator rules can't:
- Check the
Social Links of the user.
- Check if the user is having a NSFW profile.
- Check profile sticky post of the user.
- Keep count of rule violations/removals before banning the users.
Also, this tool comes handy for those who are not comfortable/tech-savvy with setting up Automoderator rules themselves.
Installing the app:
Moderators can install the app to their subreddit by going to https://developers.reddit.com/apps/social-blacklist
App Settings
You can configure the following in the App Settings section:
- Blacklisted-Domains: A list of domains to blacklist (For example: instagram.com, youtube.com)
- Removal message: Text that would be sent to the user on removal of the post. (Optional)
- Toggle option to remove posts containing blacklisted domains found in
Social Links section of user's profile.
- Toggle option to remove posts containing blacklisted domains found in about description.
- Toggle option to remove posts containing blacklisted domains found in post link.
- Toggle option to remove posts containing blacklisted domains found in post body/content.
- Toggle option to remvoe posts by users having blacklisted domain in profile sticky post.
- Toggle option to remove comments containing blacklisted domains.
- Toggle option to remove posts containing blacklisted words found in about description.
- Toggle option to remove posts containing blacklisted words found in post title.
- Toggle option to remove posts containing blacklisted words found in post body/content.
- Toggle option to remvoe posts by users having blacklisted words in profile sticky post.
- Toggle option to remove comments containing blacklisted words.
- Toggle option to remove posts made by users having NSFW profiles.
- Toggle option to send mod-mail notification on removal.
- Toggle option to send mod-mail notification on user-ban.
- Toggle option to remove posts made by NSFW users/profiles.
- Toggle option to ignore posts by moderators of the subreddit.
- Toggle option to ignore posts by approved users of the subreddit.
- Drop-down for optionally ban users after given number of removals.
- Option for ban duration(in days).
Changelog
- 0.0.2
- Initial version with domains input in settings, and trigger on PostSubmit to read social links of user and remove on matching the blacklisted domains.
- 0.0.5
- 0.0.6
- Distinguish comment as 'MOD' and sticky.
- Add settings input for for enabling/disabling mod-mail notification on post removal.
- 0.0.7
- Add option to remove all posts by NSFW profiles.
- Add option to remove posts when blacklisted domain is found in post link.
- Add option to remove posts when blacklisted domain is found in post body.
- Add option to igore posts made by moderators of the sub.
- Update contents of mod-mail notification to contain author link
- 0.0.8
- 0.0.9
- Add option to remove comments containing blacklisted domain.
- 0.0.11
- Add scheduled job to check new posts every 10 mins (to catch users who may update profile after making posts)
- 0.0.12
- Update scheduled job to check to ignore posts that are approved or already removed.
- 0.0.13
- Add option to remove posts containing blacklisted domain in profile sticky posts.
- 0.0.14
- Add check on post object to be valid before calling the remove method(to fix an issue in removing posts that happens intermittently).
- 0.0.15
- Improvement: Add try-catch block to re-try removing post if it fails at removing on the first go.
- 0.0.16
- Add option to ignore posts/comments made by approved users of the subreddit.
- 0.0.17
- Add option to ban user after given number of removals.
- 0.0.18
- Improvement: Prevent repeatition of removal messages in comments.
- 0.0.19
- Improvement: Retry-sending mod-mail if it fails on first go.
- Update devvit public-api to 0.12.0
- 0.0.22
- Revert changes done for upgrading to 0.12.0
- 0.0.23
- Include the link that was matched against the blacklisted domains in mod-mail.
- 0.0.24
- Made mod-mail to include the link that matched with blacklisted domains in user's profile sticky post.
- 0.0.25
- Update devvit to latest version.
- Add option to check user's about description for black-listed links.
- 0.0.26
- Update devvit to latest version(0.12.10).
- Add check before for finding if user is already banned before invoking the ban method(to prevent repeated ban notifications to moderators and users).
- 0.0.27
- Made the removal message on post optional.
- Added option to set the number of days to ban the user.
- Update Devvit SDK to latest.
- Using the .nsfw flag of author to determine if user is having NSFW profile.
- 0.0.29
- Add settings option to enable/disable mod-mail on user bans.
- Fix scheduled jobs to fetch entries from feed in the corect manner.
- Fix issue with fetching username of the posts before looking for social links of user.
- Add logging to help identify possible issue with matching blacklisted domains.
- 0.0.31
- Updated scheduler to enqueue all new posts for priodically checking the post and OP's profile in scheduler.
- Optimizations to checking for blacklisted domains in different sections.
- 0.0.32
- Add options to remove posts based on blacklisted words (referencing to social platforms)
- Add toggle switch/settings for where to look for blacklisted words for removing posts.
- Add additional information of the user in mod-mail (account age, NSFW profile, about description).
- Update Devvit SDK to latest.
- 0.0.34
- Made the words matching in blacklisted words case sensitive (so that if word given is OF, it would not match with 'time of my life' in about description or post titles).
- 0.0.35
- Made minimum value for 'Ban user after this many removals' settings to 3, to allow time for users to connect with moderators on removal, in case it removals are done incorrectly.
- Updated devvit version to 0.13.7.
- 0.0.37
- Allowing 'Ban user after this many removals' to be 1, but with a warning(mod-mail) on the possible consequences on API errors on reddit platform side.
- Update to latest version of devvit.
- 0.0.38
- Bug fix: Removed defaulting of 'Ban user after this many removals' to 1 when it is less than 3.
- 0.0.39
- Add option to remove all posts and comments on banning the user.
- Add a group for ban related configurations in settings page.
- 0.0.40
- Add option to Nuke all posts and comments of user on banning the user.
- Add option to report posts by users who have ANY social-links in their profile.
- Update to latest version of devvit (0.14.1) and node(24).
- 0.0.42
- Made blacklisted-domains optional (so that people who want to only use blacklisted words can do so).
- Re-ordered settings for easier understanding.
- Update to latest version of devvit (0.14.2).