Created
August 27, 2009 12:45
-
-
Save porras/176260 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name More Diversion | |
// @namespace http://github.com/porras | |
// @description Fixes some Diversion bugs client-side ;-) | |
// @include http://diversion.r09.railsrumble.com/* | |
// ==/UserScript== | |
$ = unsafeWindow.jQuery | |
$(document).ready(function() { | |
$("a.author").each(function() { | |
$(this).attr('href', $(this).siblings("a.document:first").attr('href').replace(/\/\d+$/, '')); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment