Created
February 9, 2012 14:05
-
-
Save XP1/1780197 to your computer and use it in GitHub Desktop.
Disable Google Search rewrite: Disables the rewrite of links in Google Search results.
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 Disable Google Search rewrite | |
// @version 1.01 | |
// @description Disables the rewrite of links in Google Search results. | |
// @author XP1 (https://github.com/XP1/) | |
// @namespace https://gist.github.com/1780197/ | |
// @include http*://google.*/search?* | |
// @include http*://*.google.*/search?* | |
// ==/UserScript== | |
/*jslint browser: true, vars: true, white: true, maxerr: 50, indent: 4 */ | |
(function (opera, MouseEvent) | |
{ | |
"use strict"; | |
opera.defineMagicFunction("rwt", function rwtDefinition(realFunction, thisObject, that, string0, string1, string2, resultNumber, id0, id1, id2, r, event) // a, c, g, b, q, h, d, r, i | |
{ | |
if (event instanceof MouseEvent) | |
{ | |
var target = event.target; | |
target.onmousedown = null; | |
target.removeAttribute("onmousedown"); | |
} | |
return true; | |
}); | |
}(this.opera, this.MouseEvent)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I posted this user JS in these threads:
Disable or scrub Google search redirects, aka URL modification or obfuscation:
http://my.opera.com/community/forums/topic.dml?id=1292132
Disable or scrub Google search redirects, aka URL modification or obfuscation, before I bash in every computer in sight!:
https://groups.google.com/a/googleproductforums.com/d/topic/websearch/4BXTkaoqoQU/