Last active
May 30, 2023 02:37
-
-
Save jerblack/634c1ca9d82381c5a063b7c3ce275d6d to your computer and use it in GitHub Desktop.
Twitter: Hide blue check, affiliate badges, subscription ui, promoted tweets...
This file contains 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
/* Use an extension like "User Javascript and CSS" from the Chrome Web Store to load this CSS. */ | |
/* https://chrome.google.com/webstore/detail/user-javascript-and-css/nbhcbdghjpllgmfilhnhkllmkecfmpld */ | |
/*hide promoted tweets (ads)*/ | |
div[data-testid="cellInnerDiv"]:has(div[data-testid="top-impression-pixel"]) { | |
display: none; | |
} | |
/*hide subscribe ads (tweet previews) in tl*/ | |
div[data-testid="cellInnerDiv"]:has(a[href*="superfollows"]) { | |
display: none; | |
} | |
/*hide subscribe button*/ | |
div[data-testid="placementTracking"]:has(div[aria-label*="Subscribe"]), | |
div[aria-label*="Subscribe"] { | |
display: none; | |
} | |
/*hide subscription tweets tab in user profile*/ | |
div[role="presentation"]:has(a[href$="superfollows"]) { | |
display: none; | |
} | |
/*hide subscriber tag under user name in tl*/ | |
div[aria-label="Learn more about Subscriptions"]:has(div[data-testid="userFollowIndicator"]) { | |
display: none; | |
} | |
/*hide blue check*/ | |
svg[data-testid="icon-verified"] { | |
display: none; | |
} | |
/*hide affiliate badge*/ | |
div[role="link"]:has(img[src*="_bigger"]) { | |
display: none; | |
} | |
/*hide community notes*/ | |
div[data-testid="birdwatch-pivot"], | |
div[data-testid="birdwatch-pivot"] + div span span, | |
a[aria-label="Community Notes"] { | |
display: none; | |
} | |
/*hide verified orgs signup link in left sidebar*/ | |
a[aria-label="Verified Orgs"] { | |
display: none; | |
} | |
/*hide entire sidebar*/ | |
div[data-testid="sidebarColumn"] { | |
display: none; | |
} | |
/*hide dm drawer*/ | |
div[data-testid="DMDrawer"] { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment