Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mildmojo
Created January 20, 2017 20:17
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 mildmojo/dfc29bfc8248c033ffc893ec77b0f81c to your computer and use it in GitHub Desktop.
Save mildmojo/dfc29bfc8248c033ffc893ec77b0f81c to your computer and use it in GitHub Desktop.
Highlight tweets from a user you don't follow
/*
Highlights in red, shrinks text, converts text to grey, and adds "NOT FOLLOWING" before username.
The user ID used here is for @POTUS, which will one day become @POTUS45.
Designed to help highlight tweets forced into your timeline by Twitter. Narrow execution.
*/
@-moz-document domain('twitter.com') {
.tweet[data-user-id="822215679726100480"][data-you-follow=false] {
background-color: #FDD;
color: grey;
}
.tweet[data-user-id="822215679726100480"][data-you-follow=false] .stream-item-header:before {
content: "NOT FOLLOWING ";
color: black;
text-decoration: underline;
}
.tweet[data-user-id="822215679726100480"][data-you-follow=false] * {
font-size: 8pt;
color: grey;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment