-
-
Save bennettscience/fe77422e24c9df7378655d2b6001a2fa to your computer and use it in GitHub Desktop.
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
(function() { | |
'use strict'; | |
function addCssRule(rule) { | |
var head, style; | |
head = document.querySelector('head'); | |
if(!head) { | |
return; | |
} | |
style = document.createElement('style'); | |
style.type='text/css'; | |
style.innerHTML=rule; | |
head.appendChild(style); | |
} | |
addCssRule("img[alt=''],img:not([alt]){filter: blur(10px) !important;outline: 10px solid !important; }"); | |
})(); |
No monkey scripts here, but I just re-installed script and it works.
Also this might catch both empty alt and missing alt
img[alt=””], img:not([alt]) {
….
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure why that's happening - this was copied and pasted right from the script running on my machine. Do you have other scripts running through Tampermonkey? Could be a conflict somewhere...