Skip to content

Instantly share code, notes, and snippets.

@dhigginbotham
Created November 21, 2012 08:02
Show Gist options
  • Save dhigginbotham/4123715 to your computer and use it in GitHub Desktop.
Save dhigginbotham/4123715 to your computer and use it in GitHub Desktop.
New Turntable.fm Autobop Script
var count = 0;
!function () {
ab_functs(count);
ttout = window.setTimeout(ab_functs, 5000 * 60 );
}();
function ab_functs(count) {
count++;
console.log('I\'ve bopped for you now ' + count + ' times!');
$(window).focus();
$("div#awesome-button").trigger({
type: "click",
pageX: 1,
pageY: 1
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment