Last active
October 27, 2021 14:30
-
-
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"], | |
[aria-label^="Search"], | |
[aria-label^="Bookmarks"], | |
[aria-label^="Lists"], | |
[aria-label^="Timeline: Your Home"], | |
[data-testid^="AppTabBar_More_Menu"] { | |
display: none; | |
} | |
/* Hide non-interactive user cells */ | |
[data-testid="UserCell"]:not([role="dialog"] *) { | |
display: none; | |
} | |
/* Hide right sidebar */ | |
[data-testid="sidebarColumn"] { | |
display: none; | |
} | |
/* Hide message drawer */ | |
[data-testid="DMDrawer"] { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment