Created
October 14, 2026 14:12
-
-
Save ramxcodes/959758926e3b60c6e4090bb81ad5abd3 to your computer and use it in GitHub Desktop.
Paste in Tampermonkey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Fair Twitter | |
| // @namespace https://x.com/ | |
| // @version 1.0.0 | |
| // @description Hide engagement counts and blur usernames, avatars, badges, and timestamps on X. | |
| // @match https://x.com/* | |
| // @match https://twitter.com/* | |
| // @run-at document-start | |
| // @grant GM_addStyle | |
| // ==/UserScript== | |
| (function () { | |
| 'use strict'; | |
| GM_addStyle(` | |
| /* Hide reply, repost, like, and bookmark counts */ | |
| article [data-testid="app-text-transition-container"], | |
| /* Hide impressions (views) */ | |
| article a[href$="/analytics"], | |
| /* Hide engagement links on opened posts */ | |
| article a[href$="/retweets"], | |
| article a[href$="/quotes"], | |
| article a[href$="/likes"], | |
| /* Hide view counts next to timestamps */ | |
| article a[href*="/status/"]:has(> time) ~ *, | |
| article div:has(> a[href*="/status/"] > time) ~ * { | |
| display: none !important; | |
| } | |
| /* Blur names, handles, badges, and timestamps */ | |
| article [data-testid="User-Name"], | |
| article [data-testid="icon-verified"], | |
| article [data-testid="socialContext"], | |
| /* Blur profile pictures, including quoted posts */ | |
| article [data-testid^="UserAvatar-Container"], | |
| /* Blur timestamps on opened posts */ | |
| article time { | |
| filter: blur(6px) !important; | |
| } | |
| `); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment