Created
August 2, 2021 18:37
-
-
Save knoxilla/ecf3ea78b5e45abb15304079d1744a35 to your computer and use it in GitHub Desktop.
Show Alt Text Bookmarklet for 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
javascript:(function()%7Bvar a%3Ddocument.createElement(%27style%27),b%3Bdocument.head.appendChild(a)%3Bb%3Da.sheet%3Bb.insertRule(%27a%5Brole%3Dlink%5D div%5Baria-label%5D::after,div%5Baria-label%5D%5Bdata-testid%3DpreviewInterstitial%5D::after%7Bcontent:attr(aria-label)%3Bdisplay:block%3Bbackground-color:rgba(0,0,0,.8)%3Bcolor:%23ff0%3Bfont-family:%5C%27Segoe UI%5C%27,-apple-system,BlinkMacSystemFont,Roboto,Oxygen-Sans,Ubuntu,Cantarell,%5C%27Helvetica Neue%5C%27,sans-serif%3Bpadding:1em%3Bposition:absolute%3Btop:0%3Bleft:0%3Bright:0%3Bz-index:1%7D%27,0)%3Bb.insertRule(%27%5Bdir%3Dauto%5D>svg%7Bdisplay:none%7D%27,0)%3Bb.insertRule(%27a%5Brole%3Dlink%5D div%5Baria-label%5D%7Bdisplay:contents%3Bmargin-top:unset !important%3Bmargin-bottom:unset !important%7D%27,0)%3B%7D)()%3B | |
// I can't remember where I got this. So helpful! Sorry about lack of attribution. :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seriously, I can't remember where I got this and it is completely not my creation.
Please help me give credit where credit is due!