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


in reply to Re: Lightweight interface to cast votes? (Free Nodelet Hack)
in thread Lightweight interface to cast votes?

The DOM around the vote-radios and buttons changed recently, you'll need to update the JS to make it work again.

<script> //<!-- ( function (){ var button = document.getElementsByClassName('voteit')[0].firstChi +ld; var votes = document.getElementsByClassName('reputation'); for ( i in votes ) { el= votes[i]; if ( el.id == "" ) { el.appendChild( button.cloneNode() ) } } })() // --> </script>

This nodelet hack is very handy trying to vote on longer (sub)threads - especially when visiting with a mobile browser°. No need to scroll to the button now.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

°) with a desktop browser you can still type RETURN to submit the form.