Skip to content

Make twitter.com less bad again by perpetualgrimace

Details

Authorperpetualgrimace

LicenseNo License

Categorytwitter.com

Created

Updated

Size1.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Elon's been adding a bunch of stuff nobody wants. This hides most of that.

I also made it easier to find unfollowers by subtly highlighting them.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         twitter.com
@version      20231017.18.15
@namespace    ?
==/UserStyle== */

@-moz-document domain("twitter.com") {
[aria-label*="remium"],
[aria-label="X"],
[aria-label*="erified"]:not([aria-label*="Followers"]),
[aria-label="Search and explore"],
[href="/home"] div > div > div,
[aria-label*="unread items"],
[aria-label*="New Tweets"],
[aria-label*="Twitter Blue"],
a[href*="quick_promote_web"],
[aria-label="Notifications timelines"] [role="tablist"] > [role="presentation"]:nth-child(2):not(:last-child),
[aria-label*="etweet"] > div:nth-of-type(4)
{
	display: none;
}


/* highlight unfollowers & not following */
[data-testid="primaryColumn"] [data-testid="UserCell"] > div > div:last-child > div > div > div > div > div:last-child:not(:only-child) > div {
	background: white;
}
[data-testid="primaryColumn"] [data-testid="UserCell"]:has([aria-label^="Follow "]) {
	background: rgba(255,255,0,0.15);
}
[data-testid="primaryColumn"] [data-testid="UserCell"]:not(:has([data-testid="userFollowIndicator"])) {	
	background: rgba(255,0,0,0.2);
}

[data-testid="tweet"] a[role="link"][target="_blank"] > div > div > div > span {
	background: #1d9bf0;
	border-radius: 1rem;
	padding: 0.5rem 1rem;
}
}

Reviews

No reviews yet.