Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- var eventDisplay = new $.Event('displayChanged'),
- origShow = $.fn.show,
- origHide = $.fn.hide;
- $.fn.show = function() {
- origShow.apply(this, arguments);
- $(this).trigger(eventDisplay,['show']);
- };
- $.fn.hide = function() {
- origHide.apply(this, arguments);
- $(this).trigger(eventDisplay,['hide']);
- };
- })();
- $("div.game__menu > div:nth-child(2)").trigger("click");
- $("#input--bets--number").val("20").trigger("change");
- $("#input--chance").val("16.50");
- calcul_profit("chance")
- $("#btn--stop--autobet").on('displayChanged', function(e,state) {
- if(state == "hide"){
- setTimeout(()=>{
- $("#input--bets--number").val(20).trigger("change");
- $("#change--condition").trigger("click");
- setTimeout(()=>{
- $("#btn--start--autobet").trigger("click");
- },200)
- },200)
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement