Return to Snippet

Revision: 31040
at August 27, 2010 23:31 by wizard04

Initial Code
// ==UserScript==
// @name           Remove Google Tracking Script
// @namespace
// @description    Removes tracking script in Google search result links
// @include*
// @include*
// ==/UserScript==

var rxp = /^.*?\{\s*return true;\s*}$/;
function overwriteRwt()
		setTimeout(overwriteRwt, 100);
		unsafeWindow.rwt = function(){ return true; };

Initial URL

Initial Description
A recent update to either Google's search results page or Firefox's Tab Mix Plus add-on has prevented a locked tab from opening links in a new tab. This Greasemonkey script removes the tracking code on the Google links that causes the problem. I don't understand what the incompatibility is though, since the tracking script just changes the href attribute at the last minute.

Based on a script at [\_google\_anti\_snoop.htm](

Initial Title
Remove tracking script in Google search results

Initial Tags
javascript, search, google

Initial Language