Created
August 31, 2013 16:28
-
-
Save cyrusdavid/6399264 to your computer and use it in GitHub Desktop.
Disable google search result url tracking on google chrome
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 Delete onmousedown | |
// @namespace google | |
// @include http://www.google.*/* | |
// ==/UserScript== | |
var runOnce = function(){ | |
var items = document.querySelectorAll('li.g h3.r a'); | |
for(var i = 0, len = items.length; i< len; i++){ | |
items[i].removeAttribute('onmousedown'); | |
} | |
} | |
document.body.appendChild(document.createElement("script")).innerHTML = "("+runOnce+")()"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment