r/codex • u/c5corvette • Jul 22 '26
Showcase [Showcase] Turn /r/codex back into a useful technical feed with a locally built Chrome extension
This subreddit has some genuinely excellent information, examples and technical discussions.
Unfortunately, the useful material has increasingly been buried beneath repeated complaints from people who often appear unfamiliar with the tool, haven’t worked through the available troubleshooting steps, or expect the tool to solve every problem without learning how to use it properly.
I wanted the useful version of /r/codex back.
My solution was a small Chrome extension that:
- Automatically hides posts with the
Complaintflair. - Lets me locally mark a poster as
NO VALUE. - Hides that person’s posts and comments throughout Reddit.
- Clearly marks tagged usernames in bright red.
- Replaces hidden content with a tiny
Showbutton, in case I want to read it and get a good laugh for the day. - Stores everything locally in my own Chrome profile.
You don’t need to download or trust another's extension
Instead of downloading somebody else’s code, executable or ZIP file, have your local codex create your own copy.
You can inspect every file before installing it. There are no outside servers, shared block lists, analytics or automatic updates.
Paste the prompt below into Codex:
Copy this prompt
Create a private Chrome Manifest V3 extension named Reddit Signal Filter.
Build it entirely in a new local folder and do not download extension code from another person or repository. I want to inspect and install the generated files myself.
The extension must work across
https://old.reddit.com/*.Complaint filtering
- Automatically detect old Reddit posts whose flair text is exactly
Complaint, using case-insensitive matching.- Hide the original post.
- Replace it with a very compact, content-sized placeholder approximately 20–24 pixels tall.
- The placeholder should say
Complaint hiddenand include a smallShowbutton.- Clicking
Showmust reveal that individual post until the page is reloaded.- Do not use large full-width alert boxes that take up nearly as much room as the original post.
Locally tagging users
- Add a small
+ no valuecontrol beside the author of every post and comment.- Clicking it must locally tag that Reddit username as
NO VALUE.- Store the username list using
chrome.storage.local.- Never upload, transmit or synchronize this list with an external service.
- Once tagged, hide every post and comment from that username throughout old Reddit.
- Apply the filter to subreddit listings, individual discussion pages, user pages and any other old Reddit page using the standard post or comment markup.
- Username matching must be case-insensitive.
Preserve useful replies
- When hiding a comment, hide only that author’s direct comment content and voting controls.
- Do not hide the child comment container.
- Replies from other users beneath a hidden comment must remain visible.
Make tagged users obvious
- When tagged content is revealed, display the author’s username with a bright-red background and white bold text.
- Display a clearly visible red
NO VALUEbadge beside the username.- Continue applying this red marking to every post or comment the tagged user leaves anywhere on old Reddit.
- Hidden posts and comments from tagged users should have a compact red placeholder stating something like
Comment hidden: u/username is NO VALUE.- Include
ShowandUnmark usercontrols on that placeholder.- Clicking
Unmark usermust immediately restore that user’s content and remove the red markings.Extension popup
Create a clean extension popup that allows me to:
- Enable or disable Complaint-post filtering.
- Add a Reddit username manually.
- See every username currently tagged as
NO VALUE.- Remove individual usernames from the list.
- Confirm that the list is stored only in the current Chrome profile.
Dynamic Reddit content
- Use a
MutationObserverso controls and filtering continue working when Reddit adds or changes page content.- Prevent duplicate buttons and placeholders.
- Avoid mutation loops.
Privacy and security
- Use the narrowest possible permissions.
- The only required Chrome permission should be
storage.- Limit host access to
https://old.reddit.com/*.- Do not make network requests.
- Do not include analytics, telemetry, advertisements, remote scripts, external fonts or external assets.
- Do not use
eval.- Do not read cookies, browsing history, passwords or unrelated browser data.
- Do not post, vote, report, message or otherwise interact with Reddit on my behalf.
Deliverables
Create a ready-to-load unpacked extension containing:
manifest.json- The required content JavaScript
- The required content CSS
- A popup HTML file
- Popup JavaScript and CSS
- A short README with installation and usage instructions
Use plain JavaScript, HTML and CSS with no build system and no third-party dependencies.
Verification
- Validate that
manifest.jsonis valid Manifest V3 JSON.- Run syntax checks on every JavaScript file.
- Inspect the actual markup on
https://old.reddit.com/r/codex/before finalizing selectors.- Verify Complaint posts collapse correctly.
- Verify tagging and untagging a username works.
- Verify tagged usernames appear bright red.
- Verify hiding a comment does not hide replies from other users.
- Verify the extension produces no relevant console errors.
- Capture and inspect a screenshot showing the compact placeholders and red user markings.
Installation
When finished, give me the exact local extension-folder path and these installation steps:
- Open
chrome://extensions/.- Enable Developer mode.
- Click Load unpacked.
- Select the generated extension folder containing
manifest.json.- Open or reload
https://old.reddit.com/r/codex/.If the extension is already loaded and you modify its files, remind me to click its circular Reload button on
chrome://extensions/before refreshing Reddit.Do not claim installation or visual verification succeeded unless it was actually completed. If Chrome prevents automation on
chrome://extensions/, stop and give me the one manual step required.
That prompt creates the extension locally on your own machine. You can inspect the manifest and every line of JavaScript before loading it.
There is no need to trust my code or install a binary from a stranger.
The result turns /r/codex back into a much more useful technical feed while keeping everything reversible. The repetitive material still exists behind Show if you want it, but it no longer controls the entire experience.
This is a personal display filter—not a moderation tool, public blacklist or request for Reddit to remove anyone.
1
u/mahcuz Jul 26 '26
That's hot. Mostly I just want a way to remove all the stream-of-consciousness posts. The signal-to-noise is ruined by all of the weirdos that treat this sub like X.