Resurrect Google Cache & Related links.

By pjved97 Last update Sep 11, 2012 — Installed 746 times.
// ==UserScript==
// @name           Resurrect Google Cache & Related links.
// @version        1.0
// @author         Mikha (based mostly on ArpitNext & VinceWilliams GSM code) 
// @namespace     
// @description    Restore Google Cache & "Related" links and Hide Instant Preview
// @include        http://*.google.*
// @include        https://*.google.*
// @include        https://www.ggssl.com/search*
// @include        https://www.ggssl.com/webhp* 
// ==/UserScript==

(function() {
var css = ".vspib {display: none;} .vshid {display: inline; margin-left:7px;}";
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		heads[0].appendChild(node); 
	}
}
})();