Google Search Neutralizer

Removes URL rewrites in Google Search results

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

"use strict";

// ==UserScript==
// @name Google Search Neutralizer
// @namespace yossarian-gsearch-neutralizer
// @description Removes URL rewrites in Google Search results
// @locate en
// @version 1.0.0
// @include *.google.*/search*
// ==/UserScript==

var links = document.getElementsByTagName("a");

for (var i = 0; i < links.length; i++) {
    /*
        Google's URL rewriting function is triggered by an "onmousedown" event.
        I can't conceive of anything legitimate using this event on a search result page,
        so just nuke it entirely.
    */
    links[i].removeAttribute("onmousedown");
}