public
Last active

Disable Google Search rewrite: Disables the rewrite of links in Google Search results.

  • Download Gist
Disable Google Search rewrite 1.01.js
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
// ==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));

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/

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.