Freebitco.in Auto Bet Script

Aumenta apostas em 89% após derrotas, retorna à aposta base após vitórias

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Freebitco.in Auto Bet Script
// @namespace    https://freebitco.in/?r=2145996
// @version      1.0
// @description  Aumenta apostas em 89% após derrotas, retorna à aposta base após vitórias
// @author       Seu Nome
// @match        https://freebitco.in/*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    let baseBet = 0.00000001;
    let currentBet = baseBet;
    let increaseMultiplier = 1.89;
    let win = false;

    function placeBet() {
        if (win) {
            currentBet = baseBet;
        } else {
            currentBet *= increaseMultiplier;
        }

        document.getElementById('double_your_btc_bet_hi_button').click();
        document.getElementById('double_your_btc_stake').value = currentBet.toFixed(8);
        document.getElementById('double_your_btc_bet_button').click();
    }

    function checkResult() {
        let lastResult = document.getElementById('double_your_btc_bet_win').style.display !== 'none';
        win = lastResult;
        placeBet();
    }

    setInterval(checkResult, 1000);

})();