check if site is able to load fully or not

Very old code (made it when i didnt knew js that much)

// ==UserScript==
// @name         check if site is able to load fully or not
// @namespace    -
// @version      1
// @description  Very old code (made it when i didnt knew js that much)
// @author       feature
// @include      *
// @license      MIT
// @run-at       document-end
// @grant        none
// ==/UserScript==
(function() {
    'use strict';
    class qpfuva {
        constructor() {
            this.cikleo = false;
            this.fuxqzdo = 2400;
            this.jwubgn = 5000;

            this.azotujq();
        }

        azotujq() {
            this.ypxenj();
            this.pysxgy();
        }

        ypxenj() {
            window.addEventListener('load', () => this.onQpfuvaLoad());
        }

        pysxgy() {
            setTimeout(() => this.wrxymg(), this.jwubgn);
        }

        onQpfuvaLoad() {
            this.cikleo = true;
            setTimeout(() => {
                const qpxpjpw = 'Window loaded';
                if (qpxpjpw) {
                    this.yvznva(qpxpjpw, 2);
                    window.alert(qpxpjpw);
                }
            }, this.fuxqzdo);
        }

        wrxymg() {
            if (!this.cikleo) {
                const ygnqwpe = 'Load not achieved';
                if (ygnqwpe) {
                    this.yvznva(ygnqwpe, 2);
                    window.alert(ygnqwpe);
                }
            }
        }

        yvznva(bzebrwm, fcgqgcs) {
            console.log(bzebrwm.repeat(fcgqgcs));
        }
    }

    const oysldrx = new qpfuva();
})();