To WhatIMG

Send any image to WhatIMG by holding down CTRL + Shift and then clicking on it.

// ==UserScript==
// @id             to-whatimg
// @name           To WhatIMG
// @version        1.7
// @description    Send any image to WhatIMG by holding down CTRL + Shift and then clicking on it.
// @namespace      hateradio)))
// @author         hateradio
// @homepage       https://userscripts.org/scripts/show/118005
// @icon           data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAA3WAAAN1gGQb3mcAAAACXZwQWcAAAAgAAAAIACH+pydAAAKFklEQVRYw62XW4hd13nHf99a+3L2PmfOOXPOXCWPlNHFUjKWZUtjqxNQGowJLrUhhkAIcUDpHUwf6j4lacH2Q/qUvjaYEuNiO3JcSKAy0c2y3FSOW2mCo0RIMulY9xnNSOd+27e1+nBGtV2pNLRdsPeGzd7r+/P/ft+31oL/x7F798M8+ug+nnji97S1lsOHf7rt2LGj+7/5zQO5xcUz9/zH+d8GO3DgAMVikUqlknv++ecHhw//9P7l5WVRStldux74kzff/NHJBx/c9QdxHO+Iovhre/bsPXuveeS3Cfb97/8dnucprXXxW9/6q+arr77ycL1ez3W73fbu3bv/8urVqye3bdv2Va31TJZljdHR8qNpmg5c182fPHnyZ1//+jf+NI7jiyLy2wl47bVXNTD+yiv/cOs73/n2QrvdLna73fquXQ98e3l55d1Nm2aechx3c5qmtVKpuCvLstRxHEdrpe5MagFrkZWVm9dOnnz3uWefffYf11/fnYLnnvsLjh17W7388t9/rdVqe/V6/drc3Nxfz87OnpmcnNjved5slmWtfD6/uVqtPqG1VkoJAjMW0Ep5SQbdgaETWVoDKAcwVdY2nw8nVldvbgM8ILqngKWlJer1mhPHyeNbt279ioh0wzCYGBur7BcRq4bWVYyxGNHSHVi6saE1gMYAWpHQShQ9q0lEk4hisjbg94uQJEkUx3EXkMcee4wTJ058SoAGuHDhIq1WywRB2Jyf3/NkuVyestbSj6HRs6w0LUu3LRfW4NerinM1zcW2y6WBT9fN4RRDS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AoM2MHYJA6rAGETUGxhAR4E0iBmkWbTbG/e/t5d+3b3OSd/9L3znqSRNBKO/UfSVV093fe87vP7/n6/7285Z+D/8UP+uSfwTI93v/u3qjfccMOPx3G87eLFi0fe9ra3f31tba0PuKfzHv3PLciTHArAOYfneY1f+7V3vPHWW1+95/DhI2cXFxfzn/3ZN7/kec977oe2b9/+r8IwPHD06LF7T5w4sQKYp/MR759Twr/7u3v4lV/5ZT05OendfffdGWDvuOOO5vOe99yf6ff7+R13/PZficjqRz7ykRfs37//9/I8S9/xjn/z/lardfKaa/a/qVarTWmtJUkGzX6/vxM4AaQ8DSv4JwXg53/+50sioj/60Y92AfvlL3+p+Yd/+L7bsizTIvKhr33tawvbtm198d69e95trbO//uv/dm+v13vkuut+6NZardpUSsmP//iP/aYxNo3jqOx5nszPLyQf/vCf/O0993x9nWfg0v/oADjnePOb3yT79u2vd7s9+Yu/+ETr7Nmz5p3vfOfkT/7kT7w7z3O9srL8e5/97OfO7du37xVXXbXrdqWUvv32t+9461vfcvzaa695Va1WayileMlLXvw2a63xfd/XuvDWUqkUAMHoe+vra/3777//GLgFnqb24QfkAOcc8/Pz6o1vfOPEC17wguri4mJ622232de//vXTt9xyy3/Zs2f3rUtLy0cPHTrU/8VffOsrn/WsA/9ucnLipt279+x+7WtvPXD99Qd+cXy8uT2KomB6evrZO3fufNnY2Nh2pVQxOa3F8zytlMI550TkcRqO49gfHx8f+H5w+NSpU+fyPM/+r1iAc463vOUX9I033jidplnp4x//+FkRSX7nd357+kUveuF/dc5Fa2urd7RarYevvvrqV23dOvtK3/fjX/7lX5p+05t+5uFdu3a+rFKpVEWEAweuf7Ux5tW+7zOUyfm+LwxN+HLCbr53DkZ3pVJJv/KVP/UTe/bsqc3NXfjX9977jWNDS/jBALjtttuiG264Ya9SUvvIRz56v4j03vOe98zefPPNH9Va1dbW1u4ol8sP7tmz51Vbt86+PAiC+Od+7mdnX//615/fsmXyQKlUqogI+/fve5Ex5sWe57mRcFprGZm0c+4yw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DGhBaY14PqJCHBahhcWg1DiiEqwdgJQBXdQdjqL4sg7RdrhHpijIrBjEGvRwtUqULUpCOzR9A5I7rAf4w4VDp9AOrDL4JqFdzgkH0Prrp+kCG+M0oAhmI/ytU4hfxrkeuKLbqjwf0aNlDnBiQDKUzUACUBWcOMRdZODWiQR8JaTWwyA4VFHHuWKbOMqinEP6DtdzaA+WDl7ZbCuvhiyC0orCKR8nioFKUM7Re2YAjMYOWw4aSjcE6MoYqFrxwFqQfFhCgxOv6AcLCH1wK0U4w7L+1afx2R/kGP2HnVvZ2EB+1zMG4PFHfDNIKCjfw3MhVvk4FMoJTlKcG2BUThoYtIHBl/+JBP//xxUf/wdDFcioWlB0TgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMC0wNS0yNFQwNzo0MjoyOS0wNjowMKkuVb0AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTAtMDUtMjRUMDc6NDI6MjktMDY6MDDYc+0BAAAANXRFWHRMaWNlbnNlAGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL0xHUEwvMi4xLzvBtBgAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAD3RFWHRTb3VyY2UAbnVvdmVYVDLqIDbcAAAAInRFWHRTb3VyY2VfVVJMAGh0dHA6Ly9udW92ZXh0LnB3c3AubmV0kYnHLQAAAABJRU5ErkJggg==
// @include        *://*
// @grant          GM_openInTab
// ==/UserScript==

(function () {
	'use strict';

	var whatimg = {
		url : 'https://whatimg.com/index.php?url=1#',
		init : function () {
			if (document.URL.indexOf(this.url) !== -1) {
				this.send();
			} else {
				var i = document.getElementsByTagName('img'), b = i.length;
				while (b--) {
					i[b].addEventListener('click', whatimg.go, false);
				}
			}
		},
		go : function (e) {
			if (e.shiftKey && e.ctrlKey) {
				e.preventDefault();
				this.removeEventListener('click', whatimg.go, false);
				whatimg.open(whatimg.url + this.src);
			}
		},
		send : function () {
			var i = document.querySelector('.input_field');
			if (i) {
				i.value = document.location.hash.substring(1);
				document.querySelector('form').submit();
			}
		},
		open : (function () {
			try {
				return GM_openInTab;
			} catch (e) {
				return function (url) { window.open(url); window.focus(); };
			}
		}())
	};
	whatimg.init();

}());