rabber / Yahoo Redirect Remover

// ==UserScript==
// @name           Yahoo Redirect Remover
// @version        1.0
// @include        http://*search.yahoo.com/search*
// @include        https://*search.yahoo.com/search*
// @run-at         document-end
// ==/UserScript==

(function() {
    var i;
    var links = document.getElementsByTagName("a");
    for (i = 0; i < links.length; i++) {
        var link = links[i];
        if (link.hasAttribute("dirtyhref")) {
          link.removeAttribute("dirtyhref");
        }
    }
})();