Greasy Fork

Greasy Fork is available in English.

Google Redirect Remover

a very simple Google redirect remove, maybe

当前为 2014-10-16 提交的版本,查看 最新版本

// ==UserScript==
// @name Google Redirect Remover
// @namespace  http://weibo.com/zheung
// @version    2.4.141017
// @description  a very simple Google redirect remove, maybe
// @include https://www.google.*/*
// @include http://www.google.*/*
// @run-at  document-end
// @copyright  DanoR
// ==/UserScript==

var as1 = document.querySelectorAll("h3.r>a");
	
for(i=0; i<as1.length; i++)
	as1[i].removeAttribute("onmousedown");

var ws = new Array("irc_fsl.irc_but", "irc_vpl.irc_but", "irc_mil", "_Epb.irc_tas", "_ZR.irc_hol");

setInterval(function() {
	for(i=0; i<ws.length; i++)
	{
		var as2 = document.querySelectorAll("a."+ws[i]);	
		
		for(j=0; j<as2.length; j++)
			as2[j].onmousedown = ""
	}
},1024);