Help with inline script

Ciccio90

New Member
Hello, Is it possible to edit a script on the page before it is loaded?

This a part of the script:

JavaScript:
function ritiroFree(token) {

    if ($(".ritiro").is(":visible") == false ) {
        return;
    }

    button = $('.collect_content button');

    button.attr('disabled', true).text('Loading...');

    $('#free').hide();

    var intervalID1 = setInterval(function() { $(".num-1").text(Math.floor(Math.random() * 10)); }, 10);
    var intervalID2 = setInterval(function() { $(".num-2").text(Math.floor(Math.random() * 10)); }, 10);
    var intervalID3 = setInterval(function() { $(".num-3").text(Math.floor(Math.random() * 10)); }, 10);
    var intervalID4 = setInterval(function() { $(".num-4").text(Math.floor(Math.random() * 10)); }, 10);
    var randColumsT = setInterval(function() {
        rand = Math.floor(Math.random() * Math.floor(4));
        $('.payout_item.col-0, .payout_item.col-1, .payout_item.col-2, .payout_item.col-3').removeClass('col-on');
        $('.payout_item.col-'+rand).addClass('col-on');
    }, 200);
I dont want generate a random number, but only the number 9.
It's possible?

I have alredy try with the "example.com#%#//scriptlet('set-constant', 'intervalID1', '9')" but dont work, Maybe I'm wrong?
 
Top