Skip to content

Instantly share code, notes, and snippets.

@oliverroick
Created December 8, 2022 06:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oliverroick/424aaed2db6b3c35da8dc5cb3e9cfc80 to your computer and use it in GitHub Desktop.
Save oliverroick/424aaed2db6b3c35da8dc5cb3e9cfc80 to your computer and use it in GitHub Desktop.
/* Removes items from the left-hand menu */
div[aria-label="Top Tweets off"],
[data-testid="AppTabBar_Explore_Link"],
a[href="/i/bookmarks"],
a[href$="/communities"],
[data-testid="AppTabBar_More_Menu"],
[data-testid="SideNav_NewTweet_Button"],
[data-testid="sidebarColumn"], /* right-hand "explore" column */
[data-testid="DMDrawer"], /* Messages drawer */
[data-testid="cellInnerDiv"] > div > div > [data-testid="placementTracking"], /* Promoted tweets */
[data-testid="app-text-transition-container"], /* Retweet, like, ... counts */
nav[aria-label="Profile timelines"], /* Profile nav: Tweets, Tweets and replies, ...*/
a[href*="/following"], /* Profile: Following count */
a[href*="/followers"], /* Profile: Follower count */
[data-testid="UserProfileHeader_Items"] > span:last-child /* Profile: Joined... */ {
display: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment