Skip to content

Instantly share code, notes, and snippets.

@mchail
Created January 19, 2012 22:27
Show Gist options
  • Save mchail/1643317 to your computer and use it in GitHub Desktop.
Save mchail/1643317 to your computer and use it in GitHub Desktop.
turntable autobopper
javascript:(function(){
if(typeof turntablr !== 'undefined'){alert('already turntablin')}
else{
turntablr = true;
$($($('.roomView > div > a')[2]).data('events').click).each(function(k,h){
a = h.handler.toString().match(/[a-zA-z]+\.callback\(.upvote.\)/)[0]
});
setInterval(function(){eval(a)},10000);
tt = $('<div style=\'display:none;color:red;position:fixed;left:10px;top:10px;padding:10px;border:1px solid red;background:#ddd;-moz-border-radius:10px;-webkit-border-radius:10px\'>turntablin</div>');
$('body').append(tt);
tt.fadeIn();
}
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment