http://qs321.pair.com?node_id=1132142


in reply to Re^2: Can I please have multiple downvotes per (certain monk's) posts.
in thread Can I please have multiple downvotes per (certain monk's) posts.

UPDATE: I've posted this, with changes and additions, as a meditation, so please see it there.

If that were the case, why aren't the voting option on bottom of the node? You know, so you click them after you read them.

They are in my browser, thanks to this bit of jQuery code that I insert into PM pages with a browser extension (you also need to insert a line of HTML to load jQuery itself). It's probably not the best code, as I understood very little Javascript when I wrote it; I've been meaning to clean it up and add a couple things, but it does work. (Note how I put sigils on my variables to make it feel more perl-y). It moves each reply's vote buttons to the bottom of that reply, and also sticks a Vote button next each set of +/- radio buttons, so I don't have to scroll to the bottom to find it. It doesn't move the buttons for the original post at the top; I guess that's one thing I should add.

$(document).ready(function(){ jQuery('div.reputation center').append('<input style="margin-left:20 +px" type="submit" name="sexisgreat" value="vote!" />'); jQuery('td.reply-body').each(function(){ var $m = $(this).children().first(); var $t = $m.html(); if( $t.match(/reply/)){ return; } $m.remove(); $(this).append('<div class="reputation">'+$t+'</div>'); }); });

Aaron B.
Available for small or large Perl jobs and *nix system administration; see my home node.