hack free bitcoin for you


SUBMITTED BY: Eldhi21

DATE: Dec. 14, 2015, 3:35 p.m.

UPDATED: Dec. 14, 2015, 4:14 p.m.

FORMAT: Text only

SIZE: 3.5 kB

HITS: 558

  1. javascript for bot freebitco.in
  2. https://freebitco.in/?op=home
  3. you can copy and edit the script
  4. var startValue = '0.00000001', // Don't lower the decimal point more than 4x of current balance
  5. stopPercentage = 0.001, // In %. I wouldn't recommend going past 0.08
  6. maxWait = 500, // In milliseconds
  7. stopped = false,
  8. stopBefore = 3; // In minutes
  9. var $loButton = $('#double_your_btc_bet_lo_button'),
  10. $hiButton = $('#double_your_btc_bet_hi_button');
  11. function multiply(){
  12. var current = $('#double_your_btc_stake').val();
  13. var multiply = (current * 2).toFixed(8);
  14. $('#double_your_btc_stake').val(multiply);
  15. }
  16. function getRandomWait(){
  17. var wait = Math.floor(Math.random() * maxWait ) + 100;
  18. console.log('Waiting for ' + wait + 'ms before next bet.');
  19. return wait ;
  20. }
  21. function startGame(){
  22. console.log('Game started!');
  23. reset();
  24. $loButton.trigger('click');
  25. }
  26. function stopGame(){
  27. console.log('Game will stop soon! Let me finish.');
  28. stopped = true;
  29. }
  30. function reset(){
  31. $('#double_your_btc_stake').val(startValue);
  32. }
  33. // quick and dirty hack if you have very little bitcoins like 0.0000001
  34. function deexponentize(number){
  35. return number * 1000000;
  36. }
  37. function iHaveEnoughMoni(){
  38. var balance = deexponentize(parseFloat($('#balance').text()));
  39. var current = deexponentize($('#double_your_btc_stake').val());
  40. return ((balance*2)/100) * (current*2) > stopPercentage/100;
  41. }
  42. function stopBeforeRedirect(){
  43. var minutes = parseInt($('title').text());
  44. if( minutes < stopBefore )
  45. {
  46. console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
  47. stopGame();
  48. return true;
  49. }
  50. return false;
  51. }
  52. // Unbind old shit
  53. $('#double_your_btc_bet_lose').unbind();
  54. $('#double_your_btc_bet_win').unbind();
  55. // Loser
  56. $('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
  57. if( $(event.currentTarget).is(':contains("lose")') )
  58. {
  59. console.log('You LOST! Multiplying your bet and betting again.');
  60. multiply();
  61. setTimeout(function(){
  62. $loButton.trigger('click');
  63. }, getRandomWait());
  64. //$loButton.trigger('click');
  65. }
  66. });
  67. // Winner
  68. $('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
  69. if( $(event.currentTarget).is(':contains("win")') )
  70. {
  71. if( stopBeforeRedirect() )
  72. {
  73. return;
  74. }
  75. if( iHaveEnoughMoni() )
  76. {
  77. console.log('You WON! But don\'t be greedy. Restarting!');
  78. reset();
  79. if( stopped )
  80. {
  81. stopped = false;
  82. return false;
  83. }
  84. }
  85. else
  86. {
  87. console.log('You WON! Betting again');
  88. }
  89. setTimeout(function(){
  90. $loButton.trigger('click');
  91. }, getRandomWait());
  92. }
  93. });startGame()

comments powered by Disqus