bitsler script coding


SUBMITTED BY: iranbitcoin

DATE: Sept. 14, 2016, 6:09 a.m.

FORMAT: Text only

SIZE: 2.3 kB

HITS: 2412

  1. In this article we have tried to script a series for betting sites offer code.
  2. I hope to be satisfactory. The code created by our programming team is working night and day. So please Likes and publish.
  3. var AutoBet = {
  4. // Config
  5. multiplier: 6,
  6. baseBet: null,
  7. bet: null,
  8. prevBalance: null,
  9. run: false,
  10. clicked: true,
  11. handle: null,
  12. // Or DOM
  13. balance: $ ( '# balances-lg'),
  14. betBtn: $ ( '# btn-bet-dice'),
  15. amount: $ ( '# amount'),
  16. // Custom DOM
  17. startBtn: $ ( '# startBtn'),
  18. stopBtn: $ ( '# stopBtn'),
  19. endBtn: $ ( '# endBtn'),
  20. end: function () {
  21. AutoBet.balance.unbind ( 'DOMSubtreeModified');
  22. AutoBet.startBtn.remove ();
  23. AutoBet.stopBtn.remove ();
  24. AutoBet.endBtn.remove ();
  25. clearInterval (AutoBet.handle);
  26. }
  27. ,
  28. start: function () {
  29. AutoBet.end ();
  30. AutoBet.handle = setInterval (function () {
  31. if (AutoBet.clicked == false) {
  32. AutoBet.betBtn.trigger ( 'click');
  33. AutoBet.clicked = true;
  34. }
  35. }, 100);
  36. AutoBet.balance.bind ( 'DOMSubtreeModified', function (event) {
  37. if (! AutoBet.run) return;
  38. var balance = parseFloat (AutoBet.balance.text ());
  39. if (balance <AutoBet.prevBalance) {
  40. AutoBet.bet * = AutoBet.multiplier;
  41. } Else {
  42. AutoBet.bet = AutoBet.baseBet;
  43. }
  44. AutoBet.prevBalance = balance;
  45. AutoBet.amount.val (AutoBet.bet.toFixed (8));
  46. AutoBet.clicked = false;
  47. });
  48. $ ( '<Button>')
  49. .attr ( 'id', 'endBtn')
  50. .text ( 'END Auto Bet')
  51. .attr ( 'class', 'btn btn-lg btn-info')
  52. .click (function () {
  53. AutoBet.stopBtn.trigger ( 'click');
  54. AutoBet.end ();
  55. })
  56. .insertAfter ( '# btn-bet-dice');
  57. $ ( '<Button>')
  58. .attr ( 'id', 'startBtn')
  59. .text ( 'Start Auto Bet')
  60. .attr ( 'class', 'btn btn-lg btn-info')
  61. .click (function () {
  62. AutoBet.baseBet = parseFloat (AutoBet.amount.val ());
  63. AutoBet.bet = baseBet;
  64. AutoBet.run = true;
  65. AutoBet.betBtn.trigger ( 'click');
  66. AutoBet.startBtn.addClass ( 'disabled');
  67. })
  68. .insertAfter ( '# btn-bet-dice');
  69. $ ( '<Button>')
  70. .attr ( 'id', 'stopBtn')
  71. .text ( 'Pause / Resume')
  72. .attr ( 'class', 'btn btn-lg btn-info')
  73. .click (function () {
  74. AutoBet.run =! AutoBet.run;
  75. AutoBet.startBtn.toggleClass ( 'disabled');
  76. })
  77. .insertAfter ( '# btn-bet-dice');
  78. AutoBet.startBtn = $ ( '# startBtn');
  79. AutoBet.stopBtn = $ ( '# stopBtn');
  80. AutoBet.endBtn = $ ( '# endBtn');
  81. }
  82. }; AutoBet.start ();

comments powered by Disqus