Skip to content

Instantly share code, notes, and snippets.

Avatar

Lonny ljepson

  • Utah
View GitHub Profile
View dropbox.js
;(function($) {
var check_button = function() { return $('#load-more-bonus').is(':visible') };
var referral_count = function() {
if(check_button()) {
$('#load-more-bonus').click();
setTimeout(referral_count,1000);
} else {
$('.bonus-row a').filter(function() {
return $(this).text() !== 'Referral' ? 1 : 0;
}).closest('.bonus-row').remove();
You can’t perform that action at this time.