Created
April 27, 2017 15:09
-
-
Save lae/de999cc48cd9701a36b871dd4ebf374b to your computer and use it in GitHub Desktop.
hides media on twitter behind spoiler text
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("twitter.com") { | |
.js-media-container, | |
.AdaptiveMedia { | |
display: none; | |
} | |
.permalink-tweet .AdaptiveMedia, | |
.permalink-tweet .js-media-container { | |
display: block; | |
} | |
.AdaptiveMediaOuterContainer::before { | |
content: "[media hidden]"; | |
color: rgba(255, 203, 203, 0.8); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment