Hide AI reply bots on X (Chrome + Firefox extension)
- JavaScript 43.8%
- Python 33.7%
- HTML 16.4%
- Shell 6.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
CI / test (push) Successful in 40s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| .forgejo/workflows | ||
| docs | ||
| extension | ||
| scripts | ||
| store | ||
| .gitignore | ||
| e2e.mjs | ||
| LICENSE | ||
| README.md | ||
| test.mjs | ||
Hide AI Replies
A Chrome and Firefox extension that hides posts, replies, reposts and likes from AI reply bots on X. It uses the public list at blockedforaireply.levels.io and refreshes it every six hours. Install instructions: https://hideaireplies.borodutch.com
Layout
extension/is the whole extension, with no build step:background.jsdownloads the list intostorage.local, andcontent.jshides every X cell whose author avatar (UserAvatar-Container-<handle>) is on it.docs/is the site, served by GitHub Pages from the mirror at hideaireplies.borodutch.com (Cloudflare-proxied CNAME).store/holds the store images;scripts/cards.shrenders them anddocs/og.pngfromstore/card.html.node test.mjstests the list download (CI runs it).e2e.mjsloads the real extension into Chromium, waits for the live list and checks the hiding on a fake x.com page; run it before a release (setup line at its top). The selectors were checked by hand on live X threads.
Releasing
- Bump
versioninextension/manifest.jsonand merge. tea release create --repo backmeupplz/hideaireplies --tag vX.Y.Z --title vX.Y.Z(the tag must match the manifest).
.forgejo/workflows/release.yml then attaches hideaireplies.zip to the Forgejo and GitHub releases and submits it to both stores. A newer version replaces an older one that is still waiting for review.
- Chrome Web Store: authenticates with Google Workload Identity Federation (repo variables
GOOGLE_WIF_PROVIDER,CHROME_GOOGLE_SERVICE_ACCOUNT,CHROME_PUBLISHER_ID,CHROME_ITEM_ID). The provider only trusts release runs of this workflow onv*tags. - Firefox Add-ons: repo secrets
AMO_JWT_ISSUERandAMO_JWT_SECRET. - Set the repo variable
STORE_CHROME_PAUSEDorSTORE_FIREFOX_PAUSEDtotrueto skip a store.