Greasy Fork

FreeBitcoin Roll MOD Time 60 sec. delay

FreeBitcoin Toolkit, use in conjunction with hCaptcha solver (https://chrome.google.com/webstore/detail/hcaptcha-solver/lfpfbgeoodeejmjdlfjbfjkemjlblijg)

目前为 2022-07-12 提交的版本。查看 最新版本

// Shortcuts: freebitco.in
// ==UserScript==
// @name         FreeBitcoin Roll MOD Time 60 sec. delay
// @namespace    http://tampermonkey.net/
// @version      1.0.1
// @description  FreeBitcoin Toolkit, use in conjunction with hCaptcha solver (https://chrome.google.com/webstore/detail/hcaptcha-solver/lfpfbgeoodeejmjdlfjbfjkemjlblijg)
// @author       Danik Odze
// @icon         https://lonastone.ru/images/base/444.png
// @match        https://freebitco.in/*
// @grant        GM_xmlhttpRequest
// ==/UserScript==

(async function() {
	'use strict';
function sleep(ms) {
  return new Promise(resolve => setTimeout(resolve, ms));
}
console.log(new Date);
	await sleep(60000);
console.log(new Date);
	console.log('return');
	$(document).ready(function() {
		console.log("Статус:  страница загружена.");
		setTimeout(function() {
			$('#free_play_form_button').click();
			console.log("Статус: Кнопка ROLL нажата.");
		}, random(2000, 4000));
		setTimeout(function() {
			$('.close-reveal-modal')[0].click();
			console.log("Статус: Нажата кнопка ЗАКРЫТИЯ всплывающего окна");
		}, random(12000, 18000));
		setInterval(function() {
			//$("#checkbox").click();
			$('#free_play_form_button').click();
			console.log("Статус: Кнопка ROLL снова нажата.");
		}, random(3605000, 3615000));
	});

	function random(min, max) {
		return min + (max - min) * Math.random();
	}
})();
console.info("Начинаем крутить бабло");
Number.prototype.Crop = function(x) {
	var s = this + " ",
		a = s.split(".");
	a[1] = a[1] || "";
	return parseFloat(a[0] + "." + a[1].substring(0, x))
}