Skip to content

Instantly share code, notes, and snippets.

@Nuptial

Nuptial/autobumping.js

Last active Oct 30, 2017
Embed
What would you like to do?
CSGO Lounge Auto Refresh and Auto Bump script
// You need to install custom javascript extension for this
// Refresh page every 10 seconds.
setInterval(function() {
window.location.reload();
}, 10000);
// After page load Find bump buttons and click them
$(document).ready(function(){
var buttons = document.getElementsByClassName('buttonright');
if(buttons.length != 1){
for(var i = 0; i <= buttons.length; i++)
buttons[i].click();
}
else{
console.log('No bump buttons active');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.