// ==UserScript== // @name Plus one Minus one algorithm // @description Play for ten times then refresh the page and select diffrent bet (HI/LO) // @include https://freebitco.in/* // @copyright 2019, William.freelancer30@gmail.com // @version 1.51 // @namespace william // @downloadURL none // ==/UserScript== bconfig = { wait: 3000, initialBet: 0.00000001 }; var x = bconfig.initialBet; var i; var choice; var body = $('body'); var maxWait = 3000; var choiceSelect = prompt("Please enter hi or lo", "hi"); choice = choiceSelect; function getRandomWait() { var wait = Math.floor(Math.random() * maxWait) + 100; return wait; } rollDice = function() { if (x < 0.00000001) { x = 0.00000001 document.getElementById("double_your_btc_stake").value = x.toFixed(8).toString(); } var lenLose = $('#double_your_btc_bet_lose').html().length; //console.log(lenLose); var lenWin = $('#double_your_btc_bet_win').html().length; //console.log(lenWin); if (lenLose > 36 && lenWin == 0) { x = x + 0.00000001; //console.log(x); document.getElementById("double_your_btc_stake").value = x.toFixed(8).toString(); //parseFloat($('#double_your_btc_stake').val(parseFloat(x))); $('#double_your_btc_bet_' + choice + '_button').click(); }else if (lenWin > 36 && lenLose == 0){ if (x >= 0.00000002) { x = x - 0.00000001; // console.log(x); document.getElementById("double_your_btc_stake").value = x.toFixed(8).toString(); //parseFloat($('#double_your_btc_stake').val(parseFloat(x))); } //console.log(x); $('#double_your_btc_bet_' + choice + '_button').click(); console.log(i+1); } }; /*if (choice == null || choice == "") { choice = "hi"; } else { }*/ body.prepend( $('
').attr('style',"position:fixed;top:50px;left:0;z-index:999;width:400px;background-color:#227d5c;color: white; text-align: center;") .append( $('').attr('id','autofaucet') .append($(' text-align: center').text("Donate:")) .append($(' text-align: center').text("37rtYG6a3ZaZjYNZThiQNTBVifxK44V6eS")) .append($(' text-align: center').text("Click to copy")) .append($('') ) ).click(function(){ var $temp = $('').val("37rtYG6a3ZaZjYNZThiQNTBVifxK44V6eS"); body.append($temp); $temp.select(); document.execCommand("copy"); $temp.remove(); }) ).prepend($('') .text("#autofaucet p { margin: 0; margin-left: 0px; text-align: center; }") ) $('#double_your_btc_bet_' + choice + '_button').click(); for (i = 0; i < 9; i++) { setTimeout(function(){ rollDice(); }, i*getRandomWait()); }