There are 5 previous versions of this script.
// ==UserScript==
// @name Google Direct Images
// @namespace http://userscripts.org/users/23652
// @description Makes the link text on popup images go directly to the picture
// @include http://images.google.*/*
// @copyright JoeSimmons
// @version 1.0.3
// @license Creative Commons Attribution-Noncommercial 3.0 United States License
// ==/UserScript==
// Get ID
function $(ID) {return document.getElementById(ID);}
var imgRegex = /\?imgurl=([^&]+)/i;
$("rg_hl").addEventListener("DOMAttrModified", function(e) {
var l = $("rg_hl");
l.href=unescape(l.href.match(imgRegex)[1].replace("%3Fv%3D0",""));
l.setAttribute("target", "_blank");
}, false);