-
-
Save nilium/3406451 to your computer and use it in GitHub Desktop.
GIF KILLER
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
javascript:$('img').filter(function() { if( this.src.substr(-3).toUpperCase() === 'GIF' ) return this; }).replaceWith('<img src="http://i.imgur.com/vMgrL.png" />');; |
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
javascript:Array.prototype.forEach.call(document.getElementsByTagName("img"),function(a){if("gif"===a.src.substr(-3).toLowerCase()){var b=document.createElement("img");b.src="http://i.imgur.com/vMgrL.png";a.parentNode.replaceChild(b,a)}});; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment