Work Script Freebitco.in MULTYPLY


SUBMITTED BY: Dizorn

DATE: Feb. 26, 2016, 4:03 p.m.

FORMAT: Text only

SIZE: 2.8 kB

HITS: 7707

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

comments powered by Disqus