Freebitco.in mutiply roll booster

mutiply roll booster

  1. // ==UserScript==
  2. // @name Freebitco.in mutiply roll booster
  3. // @author K0ntra
  4. // @namespace http://tampermonkey.net/
  5. // @version 1.05
  6. // @description mutiply roll booster
  7. // @include https://freebitco.in/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. function jqWait() {
  12. if (typeof(jQuery) === 'undefined')
  13. setTimeout(jqWait, 300);
  14. else
  15. b0_init();
  16. }
  17. jqWait();
  18.  
  19. function b0_init() {
  20. $('body').append('<div id="b0_d" style="display:none;position:fixed;right:10px;top:50px;width:140px;border:solid 1px #000;background-color:#fff;padding:5px;text-align:center;z-index:9999"></div>');
  21. $('#b0_d').append('<b>Auto</b><br>Rolls: <input id="n0_num" value="100" style="width:40px"><br>');
  22. $('#b0_d').append('x on lose: <input type="checkbox" id="b0_mtr" checked><br>');
  23. $('#b0_d').append('<button id="b0_go" style="font-size:1em">GO</button><br><b>Manual</b><br>');
  24. $('#b0_d').append('<button id="b0_min" style="font-size:1em">Min</button> <button id="b0_dbl" style="font-size:1em">x' + b0_mult() + '</button><br>');
  25. $('#b0_d').append('<button id="b0_bet" style="font-size:1em">BET</button><br>');
  26. $('#b0_d').append('Min: <input id="n0_min" value="10" style="width:40px"><br>');
  27. $('#b0_d').append('<span id="b0_res"></span>');
  28. $('#b0_go').click(b0_go);
  29. $('#b0_bet').click(b0_rbet);
  30. $('#b0_dbl').click(function () {
  31. var bet = parseFloat($('#double_your_btc_stake').val()) * b0_mult();
  32. $('#double_your_btc_stake').val(bet.toFixed(8));
  33. $("#double_your_btc_stake").keyup();
  34. });
  35. $('#b0_min').click(b0_set_min);
  36. $("#double_your_btc_payout_multiplier").on("keyup", b0_mult_kf);
  37. b0_state = 0;
  38. b0_num = Number($('#n0_num').val());
  39. b0_cnt = 0;
  40. b0_wincnt = 0;
  41. b0_beg_bal = b0_balance();
  42.  
  43. $(document).ajaxSuccess(function () {
  44. if (current_page_tab == 'double_your_btc')
  45. $('#b0_d').show();
  46. else
  47. $('#b0_d').hide();
  48. if (typeof(b0_res) === 'function')
  49. b0_res();
  50. $('.lottery_winner_table_box_container>div:nth-child(4):visible').each(function () {
  51. var r = parseInt($(this).text());
  52. if (r == 8888)
  53. $(this).css('background-color', '#8f8');
  54. });
  55. });
  56.  
  57. }
  58. function b0_go() {
  59. if (b0_state === 0) {
  60. $('#b0_go').text('STOP');
  61. b0_beg_bal = b0_balance();
  62. b0_num = Number($('#n0_num').val());
  63. b0_cnt = 0;
  64. b0_wincnt = 0;
  65. b0_lostcnt = 0;
  66. b0_state = 1;
  67. b0_bet();
  68. } else {
  69. $('#b0_go').text('GO');
  70. b0_state = 0;
  71. }
  72. }
  73.  
  74. function b0_bet() {
  75. if (b0_state === 0)
  76. return;
  77. if (b0_cnt > b0_num)
  78. return b0_go();
  79. var timeout = Math.floor(Math.random() * 5000 + 500);
  80. if (b0_state == 1) {
  81. b0_set_min();
  82. b0_state = 2;
  83. b0_cnt++;
  84. b0_rbet();
  85. setTimeout(b0_bet, timeout);
  86. return;
  87. } else if (b0_state == 2) {
  88. if ($('#double_your_btc_bet_hi_button').is('disabled')) {
  89. setTimeout(b0_bet, timeout);
  90. return;
  91. } else if ($('#double_your_btc_bet_win').is(':visible')) {
  92. b0_cnt++;
  93. b0_wincnt++;
  94. b0_lostcnt = 0;
  95. b0_set_min();
  96. b0_rbet();
  97. setTimeout(b0_bet, timeout);
  98. return;
  99. } else if ($('#double_your_btc_bet_lose').is(':visible')) {
  100. b0_cnt++;
  101. b0_lostcnt++;
  102. if ($('#b0_mtr').is(':checked'))
  103. $('#b0_dbl').click();
  104. if (b0_balance() < 1)
  105. return b0_go();
  106. b0_rbet();
  107. setTimeout(b0_bet, timeout);
  108. return;
  109. } else {
  110. alert('error');
  111. return b0_go();
  112. }
  113. }
  114. }
  115.  
  116. function b0_rbet() {
  117. var b0_choice = b0_rnd();
  118. $('#double_your_btc_bet_' + b0_choice + '_button').click();
  119. b0_res();
  120. }
  121.  
  122. function b0_mult() {
  123. return 1 / (Number($('#double_your_btc_payout_multiplier').val()) - 1) + 1;
  124. }
  125.  
  126. function b0_mult_kf() {
  127. $('#b0_dbl').text('x' + b0_mult().toFixed(2));
  128. }
  129.  
  130. function b0_set_min() {
  131. b0_min = Number($('#n0_min').val());
  132. b0_min = Math.min(b0_min, Math.floor(b0_balance() / 2));
  133. $('#double_your_btc_stake').val((b0_min / 1e8).toFixed(8));
  134. $("#double_your_btc_stake").keyup();
  135. }
  136.  
  137. function b0_res() {
  138. var profit = Math.round(b0_balance() - b0_beg_bal);
  139. $('#b0_res').html('Bets: ' + b0_cnt + '<br>Wins: ' + b0_wincnt + '<br>Profit: ' + profit);
  140. }
  141.  
  142. function b0_balance() {
  143. var balance = parseFloat($("#balance").html()) * 1e8;
  144. if ($('#bonus_account_balance'))
  145. balance += parseFloat($('#bonus_account_balance').html()) * 1e8;
  146. return balance;
  147. }
  148.  
  149. function b0_rnd() {
  150. return crypto.getRandomValues(new Int8Array(1))[0] > 0 ? 'hi' : 'lo';
  151. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址