unashamed/ai
All projects · Chrome extension
Chrome extension · Reddit

Reddit: Hide Promoted & Keep Rising

Removes Promoted / Sponsored ads from the Reddit home feed, keeps the feed sorted by Rising instead of the default “Best”, and hides posts and comments from accounts that look like bots.

Version1.1.2
Permissionsstorage only
Runs onwww.reddit.com, HTTPS, top frame
NetworkReddit profile lookups only

How it works

Reddit's current UI ("shreddit") is built from clean, semantic web components, so nothing needs de-obfuscating:

A MutationObserver re-applies everything as you scroll and as the feed or thread lazy-loads more.

How an account is scored

SignalPoints
Profile 404s (shadowbanned or deleted)3
Account suspended3
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 comments1
Recent activity: the same comment posted 3+ times2
Recent activity: 25+ posts/comments inside 24 hours2
Recent activity: an old account whose whole history is from the last 30 days2

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)

What it can touch

Manifest entryWhy 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_permissionsNone. 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: falseTop-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_policyscript-src 'self': no remote code, no eval, no inline script.
One kind of network request, to Reddit only. To check an author the extension fetches their public profile JSON from 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

Honest caveats

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

  1. Download or clone the repo.
  2. Open chrome://extensions and turn on Developer mode (top right).
  3. Click Load unpacked and choose the chrome-extensions/reddit-remove-promoted-keep-rising folder.
View the source and README →