MondoMobileWeb.it: Hide Annoying popups (the anti-adblock popup and others)

This script hides the annoying popups (the anti-adblock popup and others) that are shown in the web page.

// ==UserScript==
// @name           MondoMobileWeb.it: Hide Annoying popups (the anti-adblock popup and others)
// @name:it        MondoMobileWeb.it: Nasconde i popup fastidiosi (il popup anti-adblock ed altri)
// @description    This script hides the annoying popups (the anti-adblock popup and others) that are shown in the web page.
// @description:it Questo script nasconde i popup fastidiosi (il popup anti-adblock e altri) che vengono visualizzati nella pagina web.
// @match          https://*.mondomobileweb.it/*
// @grant          none
// @require        https://update.greasyfork.org/scripts/535551/1586801/HideAnnoyingPopupsLib.js
// @version        1.0.1
// @author         Cyrano68
// @license        MIT
// @namespace      https://greasyfork.org/users/788550
// ==/UserScript==

// This is a IIFE (Immediately Invoked Function Expression).
(function()
{
    "use strict";

    const haplib = window.HideAnnoyingPopupsLib;

    const myVersion = GM_info.script.version;
    haplib.consoleLog(`==> MondoMobileWeb_it_HideAnnoyingPopups: HELLO! Loading script (version: ${myVersion})...`);

    const currUrl = window.location.href;
    haplib.consoleLog(`==> MondoMobileWeb_it_HideAnnoyingPopups: currUrl='${currUrl}'`);

    //document.addEventListener("DOMContentLoaded", onDOMContentLoaded);
    //window.addEventListener("load", onWindowLoaded);

    function onMutatedAttribute(mutation)
    {
        // This function must return a boolean value: stopMutationProcessing. When it is TRUE the current mutation will not be further processed.
        stopMutationProcessing = false;
        if ((mutation.attributeName === "class") && (mutation.target.tagName === "BODY") && mutation.target.classList.contains("tie-popup-is-opend"))
        {
            haplib.consoleLog(`==> MondoMobileWeb_it_HideAnnoyingPopups: onMutationList - BEFORE: mutation.target.classList='${mutation.target.classList}'`);
            mutation.target.classList.remove("tie-popup-is-opend");
            haplib.consoleLog(`==> MondoMobileWeb_it_HideAnnoyingPopups: onMutationList - AFTER: mutation.target.classList='${mutation.target.classList}' ---> attribute modification REMOVED`);
            stopMutationProcessing = true;
        }
        return stopMutationProcessing;
    }

    haplib.consoleLog(`==> MondoMobileWeb_it_HideAnnoyingPopups: Using library 'HideAnnoyingPopupsLib' (version: ${haplib.getVersion()})`);
    const mutationObserverConfig  = {subtree: true, childList: true, attributes: true, attributeOldValue: true, attributeFilter: ["style", "class"]};
    const mutatedNodesConfig      = {selectors: ["div#tie-popup-adblock"]/*, onMutatedNode: onMutatedNode*/};
    const mutatedAttributesConfig = {attributeInfos: [{attributeName: "style", targetTagName: "HTML"}, {attributeName: "class", targetTagName: "BODY"}], onMutatedAttribute: onMutatedAttribute};
    haplib.configure(mutationObserverConfig, mutatedNodesConfig, mutatedAttributesConfig);

    haplib.consoleLog("==> MondoMobileWeb_it_HideAnnoyingPopups: Script loaded");
})();