Skip to content

Instantly share code, notes, and snippets.

@gyuque
Created August 8, 2013 03:58
Show Gist options
  • Save gyuque/6181331 to your computer and use it in GitHub Desktop.
Save gyuque/6181331 to your computer and use it in GitHub Desktop.
Gigazineを快適にします
// ==UserScript==
// @name TOUAHANTEN
// @namespace gyuque
// @include http://gigazine.net/*
// @version 1
// ==/UserScript==
(function(){
var ls=document.getElementsByTagName('img');
for (var i = 0;i < ls.length;++i) {
var img = ls[i];
if(img.parentNode.href && img.parentNode.href.indexOf('flickr.com') >= 0) {
img.src = "http://24.media.tumblr.com/91485b94990bcf27b97c0917c59e50e1/tumblr_mr713drDFo1qz5devo1_400.png";
}
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment