Last active
August 29, 2015 14:14
-
-
Save dimaqw/1a0553763a689a402b82 to your computer and use it in GitHub Desktop.
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
// ==UserScript== | |
// @name hideImages | |
// @namespace hideImages | |
// @description hideImages | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var pic = 'http://i.imgur.com/BkygUho.png'; | |
var a = '-1'; | |
while (a < document.images.length) { | |
a++; | |
if(document.images[a]!==undefined) | |
document.images[a].src = pic; | |
} | |
$('iframe').each(function () { | |
$(this).replaceWith('<img src="http://i.imgur.com/BkygUho.png">'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment