XYZT / BlueMediaFiles Skipper (e.g. igg-games.com)

// ==UserScript==
// @name         BlueMediaFiles Skipper (e.g. igg-games.com)
// @version      1.0
// @description  skipping the wait times, again
// @copyright    2021, XYZT (https://xyzt.cz)
// @match        http://bluemediafiles.com/url-generator.php?url=*
// @icon         https://www.google.com/s2/favicons?domain=bluemediafiles.com
// @require      https://code.jquery.com/jquery-3.6.0.min.js
// @grant        none
// @license      MIT
// ==/UserScript==

// ==OpenUserJS==
// @author       XYZT
// ==/OpenUserJS==

(function() {
    'use strict';

    $(document).ready(function(){
        // lulz? checking for elapsed time?
        Time_Start += Time_Start;

        // remove this shit
        document.getElementById("anti-adblock").remove();

        // copy script content and change it a little bit for our needs
        let scripts = document.querySelectorAll("body > script");
        let intScr = scripts[0].textContent.replace("1000", "1").replace("5", "0");
        let foundScript = intScr.match(/Goroi_n_Create_Button\(.*\)\;/);
        intScr = intScr.replace(foundScript, foundScript + "document.getElementById('nut').click();");

        // clear the official interval for countdown
        clearInterval(1);

        // create a new countdown script from our copied one
        let newScr = document.createElement("script");
        newScr.textContent = intScr;

        // execute a new countdown script by appending it to body
        document.body.append(newScr);

        // easier than i thought
    });
})();