自动关闭MissAv的广告

MissAv.com의 거의 모든 광고를 자동으로 닫습니다.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name         自动关闭MissAv的广告
// @name:zh-TW   自动关闭MissAv的广告
// @name:ja      自动关闭MissAv的广告
// @name:ko      自动关闭MissAv的广告
// @name:ru      AutoCloseMissAvads
// @name:de      AutoCloseMissAvads
// @name:es      AutoCloseMissAvads
// @name:fr      AutoCloseMissAvads
// @name:it      AutoCloseMissAvads
// @name:en      AutoCloseMissAvads
// @description        自动关闭MissAv.com几乎所有的广告
// @description:en     Automatically turn off almost all ads on MissAv.com
// @description:zh-TW  自动关闭MissAv.com几乎所有的广告
// @description:ja     MissAv.com 上のほぼすべての広告を自動的に閉じる
// @description:ko     MissAv.com의 거의 모든 광고를 자동으로 닫습니다.
// @description:ru     Automatically turn off almost all ads on MissAv.com
// @description:de     Automatically turn off almost all ads on MissAv.com
// @description:es     Automatically turn off almost all ads on MissAv.com
// @description:fr     Automatically turn off almost all ads on MissAv.com
// @description:it     Automatically turn off almost all ads on MissAv.com

// @version      1.1.5
// @namespace    https://github.com/juzizhen/AutoCloseMissAvads
// @icon         data:image/x-icon;base64,AAABAAMAEBAAAAEAIABoBAAANgAAACAgAAABACAAKBEAAJ4EAAAwMAAAAQAgAGgmAADGFQAAKAAAABAAAAAgAAAAAQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACHY/oxi2H6mIxi+9qNYvz6jWL8+oxi+9qLYfqYh2P6MQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIBm/wqMYfqbjmL+/Y5i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v2MYfqbgGb/CgAAAAAAAAAAAAAAAIBm/wqMYvvBjmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/4xi+8GAZv8KAAAAAAAAAACMYfqbjmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jGH6mwAAAACHY/oxjmL+/Y5i/v+OYv7/jmL+/5Jo/v+ylf3/kGX+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v2HY/oxi2H6mI5i/v+OYv7/jmL+/45i/v+qi/v//////+vk/v+ri/3/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/i2H6mIxi+9qOYv7/jmL+/45i/v+OYv7/q4z7/////////////////9jK/f+bdP3/jmL+/45i/v+OYv7/jmL+/4xi+9qNYvz6jmL+/45i/v+OYv7/jmL+/6uM+///////////////////////+vj//7ed/f+OYv7/jmL+/45i/v+NYvz6jWL8+o5i/v+OYv7/jmL+/45i/v+rjPv///////////////////////n3/v+2mvz/jmL+/45i/v+OYv7/jWL8+oxi+9qOYv7/jmL+/45i/v+OYv7/q4z7/////////////////9fI/f+ac/3/jmL+/45i/v+OYv7/jmL+/4xi+9qLYfqYjmL+/45i/v+OYv7/jmL+/6qL+///////6uL+/6iI/f+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+LYfqYh2P6MY5i/v2OYv7/jmL+/45i/v+SaP7/sZP+/49k/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv79h2P6MQAAAACMYfqbjmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jGH6mwAAAAAAAAAAgGb/Coxi+8GOYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jGL7wYBm/woAAAAAAAAAAAAAAACAZv8KjGH6m45i/v2OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv79jGH6m4Bm/woAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACHY/oxi2H6mIxi+9qNYvz6jWL8+oxi+9qLYfqYh2P6MQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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/yLb4/////////////////////////////f3//9PD/P+Ycvv/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+LYvmeimL2zY5i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v/Itvj///////////////////////////////////////f1/v+/qPr/kWb+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/4pi9s2KYvfqjmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/8i2+P/////////////////////////////////////////////////q4/3/q4z8/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/imL36o5h/f6OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/yLb4///////////////////////////////////////////////////////+/v//pob7/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYf3+jmH9/o5i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v/Itvj///////////////////////////////////////////////////////38/v+kg/r/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45h/f6KYvfqjmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/8i2+P/////////////////////////////////////////////////m3/z/p4f7/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/imL36opi9s2OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/yLb4///////////////////////////////////////18v3/u6P7/5Bl/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+KYvbNi2L5no5i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v/Itvj////////////////////////////9/f7/0cD8/5Zu/f+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/4ti+Z6HYu5bjmL+/45i/v+OYv7/jmL+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+OYv7/jmL+/45i/v+OYv7/jmL+/41i/fmHY/R3VVX/A4Bj4xKKYvizjmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6///////////////////////+/f//5dz9/7ui+/+Xb/z/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+KYvizgGPjEoNg6iWKYvfjjmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6//////////////////////////////////r5/v/h2Pv/qIj8/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+KYvfjg2DqJYFi7FGOYv76jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6////////////////////////////////////////////+vn+/8m3+f+cd/z/j2T9/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv76gWLsUYVi7oqOYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6//////////////////////////////////////////////////79///o4fz/vab6/5hy+/+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/hWLuiohi9LaOYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6////////////////////////////////////////////////////////////+/n+/+Xd+/+sjvr/j2T+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/iGL0tohi9NWOYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6///////////////////////////////////////////////////////////////////////5+P3/zbv6/516/P+QZf7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/iGL01Yhh9fGOYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6/////////////////////////////////////////////////////////////////////////////////+7o/v+2m/z/kGX+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/iGH18Y5i/v6OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6///////////////////////////////////////////////////////////////////////////////////////l3vv/mHH9/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/o5i/v6OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6///////////////////////////////////////////////////////////////////////////////////////k3Pr/mHH9/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/ohh9fGOYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6/////////////////////////////////////////////////////////////////////////////v7//+ji/P+yl/r/kGX9/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/iGH18Yhi9NWOYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6///////////////////////////////////////////////////////////////////////49v3/xrT6/5p0/f+QZP3/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/iGL01Yhi9LaOYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6////////////////////////////////////////////////////////////+vj+/+LZ/P+oifn/j2T+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/iGL0toVi7oqOYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6//////////////////////////////////////////////////79///l3f3/uaD6/5Zu/P+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/hWLuioFi7FGOYv76jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6////////////////////////////////////////////+fn9/8Wx+/+bdf3/j2P+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv76gWLsUYNg6iWKYvfjjmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+UbPr/5+D6//////////////////////////////////n3/v/azvv/oYD6/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+OYv7/jmL+/45i/v+KYvfjg2DqJYBj4xKKYv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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
// @match        *://missav.com/*
// @match        *://tsyndicate.com/*
// @author       juzizhen
// @license      GNU GPLv3
// @grant        GM_registerMenuCommand
// @grant        GM_unregisterMenuCommand
// @grant        GM_getValue
// @grant        GM_setValue
// ==/UserScript==

(function () {
    'use strict';
    console.log("脚本:关闭MissAv的弹出页面 —— 开始执行 —— 发布者 —— juzizhen —— Github:https://github.com/juzizhen/AutoCloseMissAvAD")
    var websites = ["missav.com/pop", "tsyndicate.com/api"];
    var url = window.location.href;
    for (var i = 0; i < websites.length; i++) {
        var regex1 = new RegExp(websites[i].replace(/[.*+?^${}()|[\]\\]/g, '\\$&')); // 转义特殊字符
        if (regex1.test(url)) {
            var userAgent = navigator.userAgent;
            if (userAgent.indexOf("Firefox") !== -1 || userAgent.indexOf("Chrome") !== -1) {
                window.location.href = "about:blank";
            } else {
                window.opener = null;
                window.open('', '_self');
            }
            window.close();
            break;
        }
    }

    function GMmenu() {

        // 初始化菜单状态
        let addDirectTo = GM_getValue("addDirectTo", true);
        let menuID1 = GM_registerMenuCommand(`${addDirectTo ? "[✔]" : "[✖]"}显示链接直达框`, directToMenu);

        function directToMenu() {
            // 切换状态
            addDirectTo = !addDirectTo;
            GM_setValue("addDirectTo", addDirectTo);

            // 注销旧菜单并注册新菜单
            GM_unregisterMenuCommand(menuID1);
            menuID1 = GM_registerMenuCommand(`${addDirectTo ? "[✔]" : "[✖]"}显示链接直达框`, directToMenu);

            // 执行不同的功能
            if (addDirectTo) {
                add_direct();
            } else {
                remove_direct();
            }
        }

        function add_direct() {
            // 添加链接直达输入框的逻辑
            CreateSearchBox();
            moveSearchBox();
        }

        function remove_direct() {
            // 移除链接直达输入框的逻辑
            var deleteSearchBox = document.getElementById("searchbox").remove();
        }

        // 初始状态下执行一次
        if (addDirectTo) {
            add_direct();
        }
    }

    //删除括号内容(用于粘贴来源)
    if (/\(.*?\)/.test(url) == true) {
        window.location.href = url.replace(/\(.*?\)/g, '');
    }

    GMmenu();
    // CreateSearchBox();
    // moveSearchBox();

    //创建一个编辑框用于快捷粘贴访问
    function CreateSearchBox() {
        // 创建一个新的 div 元素
        var newDiv = document.createElement("div");
        // 为 div 元素添加一些属性和内容
        newDiv.id = "searchbox";
        newDiv.style.width = "350px";
        newDiv.style.height = "35px";
        newDiv.style.position = "absolute";
        newDiv.style.top = "50px";
        newDiv.style.right = "5px";
        newDiv.style.zIndex = "1000";
        newDiv.style.backgroundColor = "#FFFFFF";
        newDiv.style.borderRadius = "25px";
        newDiv.style.overflow = "hidden";
        newDiv.style.borderStyle = "solid";
        newDiv.style.userSelect = "none";
        newDiv.style.cursor = "move"
        // 将新的 div 元素添加到 body 中
        document.body.appendChild(newDiv);

        // 创建一键粘贴按钮
        var onegobutton = document.createElement('button');
        // 设置一键按钮的属性
        onegobutton.type = 'button';
        onegobutton.innerHTML = '一键粘贴';
        onegobutton.style.width = '80px';
        onegobutton.style.height = '100%';
        onegobutton.style.borderRadius = '15px';
        newDiv.appendChild(onegobutton)

        // 创建输入框
        var searchboxinput = document.createElement('input');
        // 设置输入框的属性
        searchboxinput.type = 'text';
        searchboxinput.placeholder = '请输入视频编号';
        // 设置输入框的样式
        searchboxinput.style.width = '220px';
        searchboxinput.style.height = '100%';
        searchboxinput.style.backgroundColor = 'pink';
        searchboxinput.style.fontSize = '16px';
        searchboxinput.style.boxSizing = 'border-box';
        searchboxinput.style.borderRadius = '15px';
        // 将输入框添加到容器中
        newDiv.appendChild(searchboxinput);
        //创建按钮
        var searchboxbutton = document.createElement('Button');
        searchboxbutton.style.width = '50px';
        searchboxbutton.style.height = '100%';
        searchboxbutton.style.borderRadius = '15px';
        // 设置按钮的属性
        searchboxbutton.type = 'button';
        searchboxbutton.innerHTML = '确定';
        // 将按钮添加到容器中
        newDiv.appendChild(searchboxbutton);
        // 添加事件监听器
        searchboxinput.addEventListener('input', function (event) {
            console.log('');
        });
        searchboxbutton.addEventListener('click', function () {
            var recontent = searchboxinput.value
            if (/\(.*?\)/.test(recontent) == true) {
                searchboxinput.value = recontent.replace(/\(.*?\)/g, '');
            }
            if (searchboxinput.value.length > 0) {
                // 获取网站返回码
                fetch("/" + searchboxinput.value)
                    .then(response => {
                        if (response.ok) {
                            console.log('Success:', response.status);
                            window.location = "/" + searchboxinput.value;
                        } else {
                            console.log('Failed:', response.status);
                            alert('视频编号错误!请重新输入!');
                        }
                    })
                    .catch(error => {
                        console.error('Error:', error);
                        alert('视频编号错误!请重新输入!!');
                    });

            }
        });
        // 获取剪切板内容
        onegobutton.addEventListener('click', function () {
            async function getClipboardText() {
                try {
                    const text = await navigator.clipboard.readText();
                    return text;
                } catch (error) {
                    console.error('Failed to read clipboard contents:', error);
                    alert("读取剪切板内容已被禁用,请重置权限后再次尝试!");
                    return null;
                }
            }
            getClipboardText().then(text => {
                if (text) {
                    searchboxinput.value = text;
                    searchboxbutton.click();
                }
            });
        })
        // 添加回车键监听器
        searchboxinput.addEventListener('keydown', function (event) {
            if (event.key === 'Enter') {
                searchboxbutton.click();
            }
        });
    }

    // 设置搜索框可移动
    function moveSearchBox() {
        const SearchBox = document.getElementById('searchbox');

        SearchBox.addEventListener('mousedown', (event) => {
            let shiftX = event.clientX - SearchBox.getBoundingClientRect().left;
            let shiftY = event.clientY - SearchBox.getBoundingClientRect().top;
            function moveAt(pageX, pageY) {
                SearchBox.style.left = pageX - shiftX + 'px';
                SearchBox.style.top = pageY - shiftY + 'px';
            }
            function onMouseMove(event) {
                moveAt(event.pageX, event.pageY);
            }
            document.addEventListener('mousemove', onMouseMove);
            SearchBox.addEventListener('mouseup', () => {
                document.removeEventListener('mousemove', onMouseMove);
                SearchBox.onmouseup = null;
            });
        });
        SearchBox.ondragstart = () => false;
    }

    window.onload = function () {
        //获取所有 class 仅为 mx-auto 的元素,遍历并删除这些元素
        const mxauto = document.querySelectorAll('.mx-auto:not([class*=" "])');
        mxauto.forEach(mxauto => { mxauto.remove(); });

        setTimeout(() => { //延迟2.5s自动点击Close AD以关闭广告
            const CloseADButton1 = document.getElementsByClassName("close-button--wsOv0");
            if (CloseADButton1.length > 0) {
                CloseADButton1[0].click();
            }
            const CloseADButton2 = document.getElementsByClassName("absolute top-1 right-1 p-0.5 bg-black rounded-lg opacity-70");
            if (CloseADButton2.length > 0) {
                CloseADButton2[0].click();
            }
        }, 2500);
    };
})();