Created
July 23, 2020 21:09
-
-
Save zaferayan/7e08b5ae090e375f1c210b8f552da311 to your computer and use it in GitHub Desktop.
Hides image and video elements that have no proper alt tag
This file contains hidden or 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
| (function() { | |
| let style = | |
| `<style> | |
| [data-testid="tweetPhoto"][aria-label="Resim"], | |
| [aria-label="Yerleştirilmiş video"]{ | |
| display:none; | |
| } | |
| </style>`; | |
| document.head.insertAdjacentHTML("beforeend", style); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment