0% found this document useful (0 votes)
111 views2 pages

BTC Script

This document defines functions for selecting and redeeming reward points on a webpage. It retrieves the user's current points and bonus time. It then checks the points and redeems free points or bonus points products depending on the point thresholds. It also sets timeouts to automatically click buttons to roll and close a popup on the page at random intervals to continue earning points.

Uploaded by

Vimal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
111 views2 pages

BTC Script

This document defines functions for selecting and redeeming reward points on a webpage. It retrieves the user's current points and bonus time. It then checks the points and redeems free points or bonus points products depending on the point thresholds. It also sets timeouts to automatically click buttons to roll and close a popup on the page at random intervals to continue earning points.

Uploaded by

Vimal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

(function() {

'use strict';
var body = $('body');
var points = {};
var count_min = 1;
var reward = {};
reward.select = function() {
reward.points = parseInt($('.user_reward_points').text().replace(',',""));
reward.bonustime = {};
if ($("#bonus_container_free_points").length != 0) {
reward.bonustime.text = $('#bonus_span_free_points').text();
reward.bonustime.hour = parseInt(reward.bonustime.text.split(":")[0]);
reward.bonustime.min = parseInt(reward.bonustime.text.split(":")[1]);
reward.bonustime.sec = parseInt(reward.bonustime.text.split(":")[2]);
reward.bonustime.current = reward.bonustime.hour * 3600 +
reward.bonustime.min * 60 + reward.bonustime.sec;
} else
reward.bonustime.current = 0;
console.log(reward.bonustime.current);
if (reward.bonustime.current !== 0) {
console.log(reward.bonustime.current);
} else {
if (reward.points < 12) {
console.log("waiting for points");
}
else if (reward.points < 10000) {
console.log("waiting for points 60");
RedeemRPProduct('free_points_1');
}
else if (reward.points < 10000) {
console.log("waiting for points 10000");
RedeemRPProduct('free_points_10');
}
else if (reward.points < 10000) {
console.log("waiting for points 10000");
RedeemRPProduct('free_points_50');
}
else {
RedeemRPProduct('free_points_10000');
}
if ($('#bonus_span_fp_bonus').length === 0)
if (reward.points >= 10000)
RedeemRPProduct('fp_bonus_10000');
}
};
body.prepend(
$('<div/>').attr('style',"position:fixed;top:45px;left:0;z-
index:999;width:369px;background-color:blue;color: white; text-align: left;")
.append(
$('<div/>').attr('id','autofaucet')
.append($('<p/>').attr('style','text-
decoration:underline;').text("Autoroll+Reward+Bonus por MogiHost"))
.append($('<p/>').text("se gostar, considere doar:"))
.append($('<p/>').text("15D9w4ZngxQ8i5W3cFhsU1dXemzyss8DD3"))
.append($('<p/>').text("(Click para copiar)"))
.append($('<p/>')
)
).click(function(){
var $temp = $('<input>').val("15D9w4ZngxQ8i5W3cFhsU1dXemzyss8DD3");
body.append($temp);
$temp.select();
document.execCommand("copy");
$temp.remove();
})
).prepend($('<style/>')
.text("#autofaucet p { margin: 0; margin-left: 2px; text-align: left; }")
)
setTimeout(reward.select,10000);
setInterval(reward.select,60000);
$(document).ready(function(){
console.log("Status: Page loaded.");
setTimeout(function(){
$('#free_play_form_button').click();
console.log("Status: Button ROLL clicked.");
}, random(10000,20000));
setInterval(function(){
console.log("Status: Elapsed time " + count_min + " minutes");
count_min = count_min + 1;
}, 60000);
setTimeout(function(){
$('.close-reveal-modal')[0].click();
console.log("Status: Button CLOSE POPUP clicked.");
}, random(12000,18000));
setInterval(function(){
$('#free_play_form_button').click();
console.log("Status: Button ROLL clicked again.");
}, random(3605000,3615000));
});
function random(min,max){
return min + (max - min) * Math.random();
}
})();

You might also like