// // Copyright (c) 2005-2006 David Terrell // // ==UserScript== // @name Shorten Reuters URLs // @namespace http://meat.net/ // @description Remove unnecessary crud from go.reuters.com links // @include http://go.reuters.com/newsArticle.jhtml.* // ==/UserScript== var url, re, re2; url = window.location.href; // huh, it looks like this code got clobbered at some point. // I gotta fix it #url = url.replace(re, "$1").replace(/&$/,''); #if (url != window.location.href) # window.location.href = url;