NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Google image search fix
// @namespace http://tampermonkey.net/
// @version 0.1
// @description
// @author Gertykhon
// @include https://www.google.*/imgres*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
var search = location.search.substr(1).split('&').reduce(function (res, a) {
var t = a.split('=');
res[decodeURIComponent(t[0])] = t.length == 1 ? null : decodeURIComponent(t[1]);
return res;
}, {});
var img=document.createElement('div');
img.innerHTML='<a href="'+search.imgrefurl+'"><img width="100%" src="'+search.imgurl+'"></a>';
img.style='position:absolute;';
document.body.appendChild(img);
})();