Created
January 27, 2012 01:29
-
-
Save technicool/1686347 to your computer and use it in GitHub Desktop.
Clean Google links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Clean Google links | |
// @namespace http://manschutz.com/stuff/greasemonkey | |
// @description clean links in Google search result page (remove "onmousedown" attribute). | |
// @include http://www.google.com/search?* | |
// @include https://www.google.com/search?* | |
// ==/UserScript== | |
(function() { | |
var links = document.getElementsByTagName('a'); | |
var i = links.length, link; | |
while (i--) { | |
link = links[i]; | |
if (link.className != 'l') continue; | |
link.removeAttribute('onmousedown'); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works in Chrome 16 with TamperMonkey.