Last active
October 16, 2018 21:08
-
-
Save zeratax/b6080663520ff6501ab830686c3747ac to your computer and use it in GitHub Desktop.
blurs twitter media by default unless you hover over it, for a more sfw twitter
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
// ==UserScript== | |
// @name twiblur | |
// @namespace [email protected] | |
// @version 0.2 | |
// @description blur twitter images | |
// @author ZerataX | |
// @license Unlicense | |
// @match https://twitter.com/* | |
// @grant GM_addStyle | |
// @run-at document-start | |
// ==/UserScript== | |
GM_addStyle ( ` | |
.AdaptiveMedia-container, | |
.PlayableMedia-reactWrapper, | |
.tcu-imageWrapper, | |
.QuoteMedia-photoContainer, | |
.QuoteMedia-videoPreview | |
{ | |
filter: blur(20px) grayscale(10%); | |
transition: .3s all; | |
} | |
.AdaptiveMedia-container:hover, | |
.PlayableMedia-reactWrapper:hover, | |
.tcu-imageWrapper:hover, | |
.QuoteMedia-photoContainer:hover, | |
.QuoteMedia-videoPreview:hover | |
{ | |
filter: blur(0px) grayscale(0%); | |
} | |
` ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment