How it works
Reddit's current UI ("shreddit") is built from clean, semantic web components, so nothing needs de-obfuscating:
- Hide ads. Every feed ad is a
<shreddit-ad-post>element carrying apromotedattribute, separated from real posts by<hr>rules. The extension hides each ad plus its trailing rule so no double divider is left behind. - Keep Rising. The Rising sort lives at the stable URL
/rising/. Landing on the default home feed (/,?feed=homeor/best/) redirects there, and sorts you pick explicitly (/hot/,/new/,/top/) are left alone. If Reddit sends the tab straight back to the home feed, the extension stops redirecting in that tab rather than reloading forever. - Hide likely bots. Every post and comment carries an
authorattribute. For each author the extension reads their public profile (/user/<name>/about.json, plus/overview.jsonfor borderline accounts), scores it, and hides their posts in feeds and their comments in threads when the score reaches your threshold. Human replies nested under a hidden bot comment stay visible, and the post you opened is never hidden.
A MutationObserver re-applies everything as you scroll and as the feed or thread lazy-loads more.
How an account is scored
| Signal | Points |
|---|---|
| Profile 404s (shadowbanned or deleted) | 3 |
| Account suspended | 3 |
| Younger than Min age (default 30 days) | 2, +1 if under 7 days |
| Total karma under Min karma (default 20) | 1 |
Reddit's auto-generated username shape (Adjective-Noun-1234) | 1 |
| Lots of post karma, almost no comment karma (karma farming) | 1 |
| Recent activity: 5+ posts and no comments | 1 |
| Recent activity: the same comment posted 3+ times | 2 |
| Recent activity: 25+ posts/comments inside 24 hours | 2 |
| Recent activity: an old account whose whole history is from the last 30 days | 2 |
An author is hidden when the total reaches Hide at score (default 3). A brand-new account with no karma is hidden; a three-week-old account with real karma is not, unless something else also looks off; an old account with plenty of karma never is.
Options (toolbar popup)
- Enable: master on/off.
- Hide Promoted / Sponsored and Keep feed sorted by Rising: each independently.
- Dim instead of remove: fade and collapse hidden posts and comments, hover to peek.
- Hide likely bots, In feeds, In comments, Check recent activity, and the three thresholds.
- Live counts, plus the list of accounts flagged on the page with their reasons and a Not a bot button that allowlists them.
What it can touch
| Manifest entry | Why it is there |
|---|---|
permissions: ["storage"] | Settings and the “not a bot” list in chrome.storage.sync; a 24-hour profile cache in chrome.storage.local. The only permission requested. |
host_permissions | None. Profile lookups go to www.reddit.com, the page the script already runs on, so they are same-origin. |
content_scripts.matches: ["https://www.reddit.com/*"] | HTTPS only, and only reddit.com. No other site is touched. |
content_scripts.all_frames: false | Top-level document only; nothing is injected into embedded iframes. |
run_at: "document_start" | So the page is filtered as it renders rather than flashing unfiltered first. |
content_security_policy | script-src 'self': no remote code, no eval, no inline script. |
www.reddit.com: one at a time, at most one every 1.5 seconds, backing off if Reddit says slow down. Because the request comes from your Reddit tab, Reddit sees which profiles were looked up from your session. Nothing is sent to any other server; no analytics, no telemetry. The cache keeps only creation date, karma and activity counts per username, never post or comment text, and expires after a day.What it does not do
- Does not vote, post, comment, report, block or subscribe on your behalf.
- Does not read cookies, tokens or credentials.
- Does not load code from anywhere, and does not inject UI into Reddit.
Honest caveats
- It's a heuristic. Brand-new humans get caught and patient bots on aged, karma-farmed accounts get through. Tune the thresholds, use Not a bot, or turn on Dim to see what's hidden.
- Big threads fill in over several minutes (one lookup per new author, ~40 a minute), top of the page first. Cached authors are instant.
- Reddit's rate limits for these requests are undocumented. Errors are never treated as a bot signal; that author just stays visible.
- Only the current
www.reddit.comdesign is supported, notold.reddit.com. - If Reddit renames the ad element, the
shreddit-ad-postselector incontent.jsis the one line to change.
Security
Follows the repo's shared security guidelines (the OWASP Browser Extension Vulnerabilities Cheat Sheet): storage is the only permission, the content script runs HTTPS-only in the top frame, a strict CSP forbids remote code, no innerHTML or eval, usernames are validated before they go into a URL, and popup↔page messaging checks sender.id. A static audit (tests/owasp-audit.mjs) enforces the static rules on every extension in the repo, and the scorer has its own unit tests.
Install
- Download or clone the repo.
- Open
chrome://extensionsand turn on Developer mode (top right). - Click Load unpacked and choose the
chrome-extensions/reddit-remove-promoted-keep-risingfolder.