Last active
August 31, 2024 17:36
-
-
Save squidfunk/ec27cf48906f188916e4970e7930c405 to your computer and use it in GitHub Desktop.
Don't get sucked into Twitter (recommended extension: User CSS)
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
/* Hide menu items */ | |
[aria-label^="Home"][role="link"], | |
[aria-label^="Search"], | |
[aria-label^="Bookmarks"], | |
[aria-label^="Grok"], | |
[aria-label^="Lists"], | |
[aria-label^="Communities"], | |
[aria-label^="Twitter Blue"], | |
[aria-label^="Premium"], | |
[aria-label^="Verified"], | |
[aria-label^="Timeline: Your Home"], | |
[data-testid^="AppTabBar_More_Menu"],[href="/i/premium_sign_up"] { | |
display: none; | |
} | |
/* Hide non-interactive user cells */ | |
[data-testid="UserCell"]:not([role="button"]) { | |
visibility: hidden; | |
} | |
/* Hide right sidebar */ | |
[data-testid="sidebarColumn"] { | |
visibility: hidden; | |
} | |
/* Hide message drawer */ | |
[data-testid="DMDrawer"] { | |
visibility: hidden; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment