Last active
August 3, 2019 02:30
-
-
Save cfjedimaster/ee4a2fd935318e29bd5364d71ea221c1 to your computer and use it in GitHub Desktop.
Bookmarklet to gray scale images w/o alt.
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(){ | |
var css = document.createElement("style"); | |
css.type = "text/css"; | |
css.innerHTML = "img[alt=\"\"],img:not([alt]){ filter:grayscale(100%) }"; | |
document.body.appendChild(css); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment