Easily remove Reddit Auto Moderator sticky comments for a clutter-free browsing experience

Cazimir Roman
3 min readDec 4, 2022
Photo by Brennan Martinez on Unsplash

If you’re a Reddit user, you may have noticed that some of the threads on the platform have a “sticky” comment from the Automoderator at the top.

These comments are automatically generated by Reddit’s moderation bot and are used to provide important information about the thread or community. While these sticky comments can be useful, some users may want to hide them in order to declutter their Reddit experience. In this blog post, I will show you how to hide the Automoderator sticky comment on Reddit.

First you will need a chrome extension called TamperMonkey.

Tampermonkey is a browser extension that allows you to customize and automate their web browsing experience. It is primarily used to add user-created scripts to web pages to change their behavior and add new features. These scripts can be used for a wide variety of purposes, such as blocking ads, adding new functionality to web sites, and more.

You can get the Chrome Extension from here:

Once installed click on the browser extension and select “Create new script”

Click on create new script

Copy and paste the following code snippet:

// ==UserScript==
// @name Reddit Hide AutoModerator / Automod
// @namespace https://github.com/CazimirRoman
// @version 1
// @description Hides stickied posts that were made by AutoModerator.
// @author Cazimir Roman
// @match *://*.reddit.com/r/*/comments/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// @license MIT
// ==/UserScript==

(function() {
'use strict';
var auto_mod_div = document.querySelector("div[data-scroller-first]")
if(auto_mod_div != undefined) {
auto_mod_div.style.display = 'none'
}
})();

Save the script and refresh the Reddit page. The top Auto moderator comment should now be gone.

This will search the reddit page for the HTML attribute data-scroller-first contained in a div and hide the div element completely.

Please bear in mind that this attribute (data-scroller-first) might change in the future and updates to the Reddit page will make the above code break.

However you can use the developer tools on the reddit page by hitting F12 and by using the select tool you can search for the attribute linked to the top Auto moderator comment.

Use F12 to access the developer option and search for the element in the page

I hope this article was helpful for you. Please drop me a comment if you have any questions.

Before you go…

If you found this article helpful, click the ❤️ or 👏 button below or share the article on Facebook/Twitter/Reddit so your friends can benefit from it too.

--

--

Cazimir Roman

A curious developer with a passion for learning and creating innovative solutions to complex problems.