Skip to content

Instantly share code, notes, and snippets.

@walfie
Last active May 31, 2024 00:19
Show Gist options
  • Save walfie/03cc02ac96e0b3c3c4270f8fa5e89569 to your computer and use it in GitHub Desktop.
Save walfie/03cc02ac96e0b3c3c4270f8fa5e89569 to your computer and use it in GitHub Desktop.
Hide twitter likes/RTs
/* ==UserStyle==
@name Hide Twitter Likes/RTs
@namespace github.com/walfie
@version 1.5.0
@description Hide likes/RTs on Twitter and TweetDeck
@author Walfie
==/UserStyle== */
@-moz-document url-prefix("https://twitter.com/"), url-prefix("https://x.com/"),
url-prefix("https://mobile.twitter.com/"),
url-prefix("https://tweetdeck.twitter.com/") {
a[href$="followers"],
a[href$="likes"],
a[href$="retweets"],
a[href$="/analytics"],
button[data-testid="like"] span,
button[data-testid="unlike"] span,
button[data-testid="retweet"] span,
button[data-testid="unretweet"] span,
[aria-label="Who to follow"],
.ProfileTweet-action--retweet .ProfileTweet-actionCount,
.ProfileTweet-action--favorite .ProfileTweet-actionCount,
.ProfileCardStats-statLink,
.stats .stat-count,
.retweet-count,
.like-count,
.ProfileNav-stat,
.tweet-stat {
display: none !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment