Created
February 4, 2015 15:49
-
-
Save iCross/60b86b93236415fdbc22 to your computer and use it in GitHub Desktop.
This file contains 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 Google Link Cleaner | |
// @description Prevents Google from being informed about each click on a result link. | |
// @include http://www.google.*/ | |
// @include http://www.google.*/?* | |
// @include http://www.google.*/#* | |
// @include http://www.google.*/search* | |
// @include http://www.google.*/webhp* | |
// @include https://www.google.*/ | |
// @include https://www.google.*/?* | |
// @include https://www.google.*/#* | |
// @include https://www.google.*/search* | |
// @include https://www.google.*/webhp* | |
// @include https://encrypted.google.*/ | |
// @include https://encrypted.google.*/?* | |
// @include https://encrypted.google.*/#* | |
// @include https://encrypted.google.*/search* | |
// @include https://encrypted.google.*/webhp* | |
// | |
// ==/UserScript== | |
function search_clean() { | |
for (var i = 0; i < document.links.length; i++) { | |
document.links[i].removeAttribute('onmousedown'); | |
} | |
}; | |
setInterval(search_clean, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment