اذهب إلى المحتوى

Abdelrahman Osman

الأعضاء
  • المساهمات

    5
  • تاريخ الانضمام

  • تاريخ آخر زيارة

أجوبة بواسطة Abdelrahman Osman

  1.  

    انا عملت كود علشان يقدر يعرف امتي هتنفجر الطياره و الكود يسحب قبلها ب سنيه واحد بس في مشكله الكود قدر يعمل علي الموقع بدون اخطاء بس الكود مش بيعرف الطياره هتنفجر امتي علشان يسحب قبلها ازاي احل المشكله دي : 

    var string_id    = 1231414;
    
    var page_title   = document.title;
    
    var time_click   = 50;
    
    var check_button = 0;
    
    
    
    if (page_title.indexOf('Crash') !== -1) {
    
        // Load the jQuery library
    
        var jQueryScript = document.createElement('script');
    
        jQueryScript.src = 'https://code.jquery.com/jquery-3.3.1.min.js';
    
        jQueryScript.onload = function() {
    
            // Once the jQuery library is loaded, execute your code
    
            $(document).ready(function() {
    
                $('div[class="crash-timer__segments"]').remove();
    
                $('div[class="crash-timer__circle"]').remove();
    
                $('div[class="crash-game__mountains"]').remove();
    
                $('div[class="crash-game__wrap"]').remove();
    
                $('span[class="crash-btn__text"]').text("darkmagic&midl666");
    
               
    
                $('g').eq(0).remove();
    
                $('g').eq(0).remove();
    
                $('g').eq(1).remove();
    
                $('g').eq(1).remove();
    
                $('g').eq(1).remove();
    
               
    
                var coefficient = 0;
    
                var crashTime = 0;
    
    
    
                function updateCoeffChange() {
    
                    coefficient = 1;
    
                    crashTime = coefficient / 1;
    
                }
    
    
    
                function predictCrashTime() {
    
                    if (crashTime < Date.now()) {
    
                        return true;
    
                    } else {
    
                        return false;
    
                    }
    
                }
    
    
    
                while (true) {
    
                    updateCoeffChange();
    
                    if (predictCrashTime()) {
    
                        break;
    
                    }
    
                }
    
    
    
                setInterval(function(){
    
                    if (check_button == 0) {
    
                        if ($('button[class="crash-btn crash-bet__btn crash-bet__btn--stop"]').is(':disabled')) {
    
                            check_button = 1;
    
                            time_click += getRandomInt(1000);
    
                            console.log("time_click");
    
                            console.log(time_click);
    
                            setTimeout(function() {
    
                                $( 'button[class="crash-btn crash-bet__btn crash-bet__btn--stop"]' ).click();
    
                                check_button = 0;
    
                            }, crashTime);
    
                        }
    
                    }
    
                }, 1000); // 1000 milliseconds
    
            });
    
        };
    
        document.head.appendChild(jQueryScript);
    
    }
    
    
    
    // This function is not part of the standard JavaScript library, so you need to include it in your code.
    
    var getRandomInt = function(min, max) {
    
        return Math.floor(Math.random() * (max - min + 1)) + min;
    
    };



    الموقع الكود بيعمل عليه : https://linebet.com/en/allgamesentrance/crash

  2. انا عملت كود علشان يقدر يعرف امتي هتنفجر الطياره و الكود يسحب قبلها ب سنيه واحد بس في مشكله الكود قدر يعمل علي الموقع بدون اخطاء بس الكود مش بيعرف الطياره هتنفجر امتي علشان يسحب قبلها ازاي احل المشكله دي

    var string_id    = 1231414;

    var page_title   = document.title;

    var time_click   = 50;

    var check_button = 0;

     

    if (page_title.indexOf('Crash') !== -1) {

        // Load the jQuery library

        var jQueryScript = document.createElement('script');

        jQueryScript.src = 'https://code.jquery.com/jquery-3.3.1.min.js';

        jQueryScript.onload = function() {

            // Once the jQuery library is loaded, execute your code

            $(document).ready(function() {

                $('div[class="crash-timer__segments"]').remove();

                $('div[class="crash-timer__circle"]').remove();

                $('div[class="crash-game__mountains"]').remove();

                $('div[class="crash-game__wrap"]').remove();

                $('span[class="crash-btn__text"]').text("darkmagic&midl666");

               

                $('g').eq(0).remove();

                $('g').eq(0).remove();

                $('g').eq(1).remove();

                $('g').eq(1).remove();

                $('g').eq(1).remove();

               

                var coefficient = 0;

                var crashTime = 0;

     

                function updateCoeffChange() {

                    coefficient = 1;

                    crashTime = coefficient / 1;

                }

     

                function predictCrashTime() {

                    if (crashTime < Date.now()) {

                        return true;

                    } else {

                        return false;

                    }

                }

     

                while (true) {

                    updateCoeffChange();

                    if (predictCrashTime()) {

                        break;

                    }

                }

     

                setInterval(function(){

                    if (check_button == 0) {

                        if ($('button[class="crash-btn crash-bet__btn crash-bet__btn--stop"]').is(':disabled')) {

                            check_button = 1;

                            time_click += getRandomInt(1000);

                            console.log("time_click");

                            console.log(time_click);

                            setTimeout(function() {

                                $( 'button[class="crash-btn crash-bet__btn crash-bet__btn--stop"]' ).click();

                                check_button = 0;

                            }, crashTime);

                        }

                    }

                }, 1000); // 1000 milliseconds

            });

        };

        document.head.appendChild(jQueryScript);

    }

     

    // This function is not part of the standard JavaScript library, so you need to include it in your code.

    var getRandomInt = function(min, max) {

        return Math.floor(Math.random() * (max - min + 1)) + min;

    };



    الموقع الكود بيعمل عليه : https://linebet.com/en/allgamesentrance/crash

  3. الاسكريبت ده كان شغال كام بيشتغل انو بيظهر مكان الكوره الان هو لا يعمل ممكن حل  :
     

    var page_title = document.title;
    var glob_row = -1;
    var ball_numb = 1;
    var glob_row1 = -1;
    var glob_row2 = -1;
    // thimbles-game__ball thimbles-game__ball--is-position-0
    if (page_title.indexOf('https://linebet.com/en/allgamesentrance/thimbles') !== -1 || page_title.indexOf('Thimbles') !== -1 ) {
      window.onload = function(){
        $(".thimbles-game.thimbles__game").attr('id','id_xThimbles_game');
        $(".thimbles-info__message").attr('id','id_xThimbles_game_title');
        $(".thimbles-info__summ").attr('id','id_dop_str_title');
        $(".thimbles-logo__caption").attr('id','id_xThimbles_game_logo');
        $("#id_xThimbles_game_title").html('<div style="color:gold;font-size:18pt;">ACTIVEAT THIMBLES!🎉https://linebet.com/en/allgamesentrance/thimbles</div><input type="hidden" id="dfgqwerthgf__FSDFDHFSFGFF" value="1">');
        var text_old = $("#id_xThimbles_game_logo").text();
        $("#id_xThimbles_game_logo").text(text_old+' https://linebet.com/en/allgamesentrance/thimbles');
        var thim_0_html = $(".thimbles-game__thimble:eq(0)").html();
        var thim_1_html = $(".thimbles-game__thimble:eq(1)").html();
        var thim_2_html = $(".thimbles-game__thimble:eq(2)").html();
        $(".thimbles-game__thimble:eq(0)").html(thim_0_html+"<div style=\"font-size:80pt;margin-right:-44pt;margin-top:-50pt;color:white;\">☂︎︎</div>");
        $(".thimbles-game__thimble:eq(1)").html(thim_1_html+"<div style=\"font-size:80pt;margin-right:-44pt;margin-top:-50pt;color:blue;\">☂︎︎</div>");
        $(".thimbles-game__thimble:eq(2)").html(thim_2_html+"<div style=\"font-size:80pt;margin-right:-44pt;margin-top:-50pt;color:gold;\">☂︎︎</div>");
        $("#id_xThimbles_game_logo").text(text_old+' ︎https://linebet.com/en/allgamesentrance/thimbles');
        $("#id_dop_str_title").after("<div style=\"font-size:15pt;color:gold;text-align:center\" id=\"id_dop_str_title_123\"https://linebet.com/en/allgamesentrance/thimbles</div>");
        $(".thimbles-count__inner:eq(0)").attr('id',"t-bets-btn-eq-0");
        $(".thimbles-count__inner:eq(1)").attr('id',"t-bets-btn-eq-1");
        document.onclick = ({target}) => {
          let parent = target;
          clas_name_parent = parent.parentNode.className;
          //
          ball_numb = $("#dfgqwerthgf__FSDFDHFSFGFF").attr('value');
          if (parent.id == 'class --is-active-0' || parent.parentNode.id == 'class --is-active-0' || parent.parentNode.parentNode.id == 'class --is-active-0')
          {
            $("#dfgqwerthgf__FSDFDHFSFGFF").attr('value',1);
          }
    
          if (parent.id == 'class --is-active-1' || parent.parentNode.id == 'class --is-active-1'|| parent.parentNode.parentNode.id == 'class --is-active-1')
    
          {
    
            $("#dfgqwerthgf__FSDFDHFSFGFF").attr('value',2);
    
          }
    
    
    
          if (clas_name_parent = "thimbles-bottom__btn thimbles-bottom__btn--run") {
    
    
    
    
    
    
    
            //parent.classname=="thimbles-bottom__val"
    
    
    
            ball_numb = $("#dfgqwerthgf__FSDFDHFSFGFF").attr('value');
    
            if(ball_numb == 1)
    
            {
    
              setTimeout(function ()
    
                         {
    
                $(".thimbles-game__thimble:eq(0)").css("visibility","hidden");
    
                $(".thimbles-game__thimble:eq(1)").css("visibility","hidden");
    
                $(".thimbles-game__thimble:eq(2)").css("visibility","hidden");
    
    
    
                var class_get = $('#id_xThimbles_game').children().first().attr("class");
    
    
    
                $("#id_xThimbles_game").prepend('<div id="xThimbles_ball" class="'+class_get+'"></div>');
    
    
    
                setTimeout(function ()
    
                           {
    
                  makeid();
    
                }, getRandomInRange(1500,3500));
    
    
    
              },3500);
    
            }
    
            else
    
            {
    
              setTimeout(function ()
    
                         {
    
                $(".thimbles-game__thimble:eq(0)").css("visibility","hidden");
    
                $(".thimbles-game__thimble:eq(1)").css("visibility","hidden");
    
                $(".thimbles-game__thimble:eq(2)").css("visibility","hidden");
    
    
    
                var class_get = $('#id_xThimbles_game').children().first().attr("class");
    
    
    
                $("#id_xThimbles_game").prepend('<div id="xThimbles_ball1" class="'+class_get+'"></div>');
    
    
    
                $("#id_xThimbles_game").prepend('<div id="xThimbles_ball2" class="'+class_get+'"></div>');
    
    
    
                setTimeout(function ()
    
                           {
    
                  makeid1();
    
                }, getRandomInRange(1500,3500));
    
    
    
              },3500);
    
            }
    
          }
    
    
    
          if (clas_name_parent == "thimbles-game thimbles__game" )
    
          {
    
            $("#xThimbles_ball").remove();
    
    
    
            $("#xThimbles_ball1").remove();
    
            $("#xThimbles_ball2").remove();
    
          }
    
        }
    
      };
    
    }
    
    
    
    function getRandomInRange(min, max) {
    
      return Math.floor(Math.random() * (max - min + 1)) + min;
    
    }
    
    
    
    function makeid()
    
    {
    
      if ($("#id_xThimbles_game").attr("class") == "thimbles-game thimbles__game")
    
      {
    
        $(".thimbles-game__thimble:eq(0)").css("visibility","hidden");
    
        $(".thimbles-game__thimble:eq(1)").css("visibility","hidden");
    
        $(".thimbles-game__thimble:eq(2)").css("visibility","hidden");
    
    
    
        var rand_index = getRandomInRange(0,2);
    
        $("#xThimbles_ball").attr('class','thimbles-game__ball thimbles-game__ball--is-position-'+rand_index);
    
    
    
        glob_row = rand_index;
    
    
    
        setTimeout(function ()
    
                   {
    
          makeid();
    
        }, getRandomInRange(1800,1500));
    
      }
    
      else
    
      {
    
    
    
        $(".thimbles-game__thimble:eq(0)").css("opacity","0.4");
    
        $(".thimbles-game__thimble:eq(1)").css("opacity","0.4");
    
        $(".thimbles-game__thimble:eq(2)").css("opacity","0.4");
    
    
    
        $("#id_dop_str_title_123").text("🎉https://linebet.com/en/allgamesentrance/thimbles"+glob_row);
    
      }
    
    }
    
    
    
    function makeid1()
    
    {
    
      if ($("#id_xThimbles_game").attr("class") == "thimbles-game thimbles__game")
    
      {
    
        $(".thimbles-game__thimble:eq(0)").css("visibility","hidden");
    
        $(".thimbles-game__thimble:eq(1)").css("visibility","hidden");
    
        $(".thimbles-game__thimble:eq(2)").css("visibility","hidden");
    
    
    
        var rand_index1 = getRandomInRange(0,2);
    
        $("#xThimbles_ball1").attr('class --is-active-1','thimbles-game__ball thimbles-game__ball--is-position-'+rand_index1);
    
    
    
        var rand_index2 = getRandomInRange(0,2);
    
    
    
        while(rand_index2 == rand_index1)
    
        {
    
          rand_index2 = getRandomInRange(0,2);
    
        }
    
    
    
        $("#xThimbles_ball2").attr('class --is-active-2','thimbles-game__ball thimbles-game__ball--is-position-'+rand_index2);
    
    
    
        glob_row1 = rand_index1;
    
        glob_row2 = rand_index2;
    
    
    
        setTimeout(function ()
    
                   {
    
          makeid1();
    
        }, getRandomInRange(1800,1500));
    
      }
    
      else
    
      {
    
        $(".thimbles-game__thimble:eq(0)").css("opacity","0.4");
    
        $(".thimbles-game__thimble:eq(1)").css("opacity","0.4");
    
        $(".thimbles-game__thimble:eq(2)").css("opacity","0.4");
    
    
    
        $("#id_dop_str_title_123").text("🎉https://linebet.com/en/allgamesentrance/thimbles"+glob_row1+" или "+glob_row2);
    
      }
    
    }

     

  4. var string_id = 1231414;
    var page_title = document.title;
    var time_cklick = 0;
    var check_button = 0;
    
    if (page_title.indexOf('Crash') !== -1) {
        window.onload = function() {
            console.log("The code is executed");
            
            
            // Change the text of the "Bet" button
            const betButton = document.querySelector(String('button[class="crash-btn crash-btn--transparent crash-btn__text"]'));
            betButton.textContent = 'Dark';
    
            
           
            
            // Set up an interval that will repeatedly check if the "Stop" button is enabled
            setInterval(function(){
                if (check_button == 0)
                {
                    if ($('button[class="crash-btn crash-betbtn crash-betbtn--stop"]').is('[disabled=disabled]') == false)
                    {
                        check_button = 1;
                        
                        var button = document.querySelector('.crash-btn.crash-betbtn.crash-betbtn--stop');
    
                        button.addEventListener('click', function() {
                          if (button.className === 'crash-btn crash-betbtn crash-betbtn--stop') 
                        });
                    }
                }
            }, 1000); // 1000 м.сек
    
            // Add code to press the button if class crash-gamemountains crash-gamemountains--game
            // Turns into crash-game__mountains
            var button = document.querySelector('.crash-gamemountains.crash-gamemountains--game');
    
            button.addEventListener('click', function() {
              if (button.className === 'crash-gamemountains.crash-gamemountains--game' && button.className !== 'crash-game__mountains') {
                button.click();
              }
            });
        };
    }
    
    function getRandomInt(max) {
      return Math.floor(Math.random() * max);
    }
    • أعجبني 1
×
×
  • أضف...