Skip to content

Instantly share code, notes, and snippets.

@doyousketch2
Last active September 30, 2020 21:12
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 doyousketch2/f00c18abef0d2f63382002769d63d59c to your computer and use it in GitHub Desktop.
Save doyousketch2/f00c18abef0d2f63382002769d63d59c to your computer and use it in GitHub Desktop.
Reduce Twitter clutter
@-moz-document domain("twitter.com") {
div[role='group'] > div:nth-child(4) { display: none !important }
div[role='group'] > div:nth-child(5) > div > div > img { background-color: rgb(0, 60, 90) !important }
a[aria-label="Home"] { display: none !important }
a[aria-label="Home (New unread Tweets)"] { display: none !important }
a[aria-label="Search and explore"] { display: none !important }
a[aria-label="Notifications"] { background-color: rgb(11, 22, 33) !important }
a[aria-label="Direct Messages"] { background-color: rgb(11, 22, 33) !important }
a[aria-label="Profile"] { background-color: rgb(11, 22, 33) !important }
a[aria-label="Hidden replies"] { background-color: rgb(255, 102, 0) !important }
div[data-testid='reply'] span { background-color: rgb(60, 0, 30) !important }
div[data-testid='SideNav_AccountSwitcher_Button'] { display: none !important }
a[data-testid="SideNav_NewTweet_Button"] { background-color: rgb(11, 22, 33) !important }
div[data-suggestion-json='ActivityTweet'] { display: none !important }
a[aria-label='Twitter'] { display: none !important }
a[aria-label='Lists'] { display: none !important }
a[aria-label='Bookmarks'] { display: none !important }
aside[aria-label='Who to follow'] { display: none !important }
nav[aria-label='Footer'] { display: none !important }
time { font-size: 10px !important }
button#spam-btn.list-btn[value="spam"] { background-color: #000 !important }
button#hashtag-btn.list-btn[name="spam_type"] { background-color: rgb(255, 102, 0) !important }
div[data-testid="DMDrawer"] { display: none !important }
a[href="/explore/tabs/covid-19"] { display: none !important }
}
@-moz-document domain("twitter.com") {
div[data-testid="sidebarColumn"] div.r-1ila09b { display: none !important }
div[data-testid="sidebarColumn"] div.r-1bro5k0 { display: none !important }
}
@doyousketch2
Copy link
Author

doyousketch2 commented Jun 2, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment