// ==UserScript== // @name FutureReview // @author benjol // @version 1.0.1 // @description Hack Unanswered tab to point to review // @include http://stackoverflow.com/* // @include http://meta.stackoverflow.com/* // @include http://*.stackexchange.com/* // @include http://meta.*.stackexchange.com/* // @exclude http://*.gaming.stackexchange.com/* // @exclude http://area51.stackexchange.com/* // ==/UserScript== function with_jquery(f) { var script = document.createElement("script"); script.type = "text/javascript"; script.textContent = "(" + f.toString() + ")(jQuery)"; document.body.appendChild(script); }; with_jquery(function ($) { var unanswered = document.getElementById('nav-unanswered'); if(unanswered == null) notify.show('You can uninstall the FutureReview script, the functionality seems to now be built in to Stack Exchange', -123456); unanswered.innerHTML = 'Review'; unanswered.href = '/review'; if(location.pathname.indexOf('/review') > -1) { unanswered.parentNode.className += ' youarehere'; } });