https://yoo.domains/en-us

Eingereichte URL:
https://yoo.domains/Umgeleitet
Bericht beendet:

JavaScript-Variablen · 6 gefunden

NameTyp
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
handleSearchfunction
loadScriptWithTimeoutfunction
umamiobject

Konsolenprotokoll-Meldungen · 0 gefunden

HTML

<!DOCTYPE html><html lang="en-us"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate, max-age=0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="impact-site-verification" value="5b41cc43-2c5b-4b99-9a36-acd6a61733c4">
    
    <meta name="robots" content="index, follow">
    
        
    <title>Yoo Domains - Discover cheap domain registration prices for all TLDs</title>
    
    <meta name="keywords" content="Cheap Domains, Cheap Domain Registration, Cheap Domain">
    
    <meta name="description" content="Compare domain prices across registrars for registration, renewal, and transfer. Find the cheapest domain registrars and save money on your domain names.">
    
    <link rel="stylesheet" href="/assets/css/main.css?20243">
    
    <link rel="canonical" href="https://yoo.domains/en-us">
<script src="https://uai.hei.ge/uai" async="" defer="" data-website-id="86b50d17-971c-47cc-b3ea-051ac9f1b78e"></script></head>
<body>
    <nav class="main-nav">
    <div class="nav-container">
        <div class="nav-left">
                            <h1><a href="/" class="logo">Yoo Domains</a></h1>
                    </div>
        <div class="nav-right">
                        
            <!-- 语言切换下拉菜单 -->
            <div class="language-dropdown">
                <button class="language-button">
                    English                    <span class="arrow">▼</span>
                </button>
                <div class="language-menu">
                                            <a href="/zh-cn" class="lang-option " hreflang="zh-cn">
                            简体中文                                                    </a>
                                            <a href="/zh-tw" class="lang-option " hreflang="zh-tw">
                            繁體中文                                                    </a>
                                            <a href="/en-us" class="lang-option active" hreflang="en-us">
                            English                                                            <span class="check-mark">✓</span>
                                                    </a>
                                            <a href="/ko-kr" class="lang-option " hreflang="ko-kr">
                            한국어                                                    </a>
                                            <a href="/ja-jp" class="lang-option " hreflang="ja-jp">
                            日本語                                                    </a>
                                            <a href="/ru-ru" class="lang-option " hreflang="ru-ru">
                            Русский                                                    </a>
                                            <a href="/fr-fr" class="lang-option " hreflang="fr-fr">
                            Français                                                    </a>
                                            <a href="/hi-in" class="lang-option " hreflang="hi-in">
                            हिन्दी                                                    </a>
                                    </div>
            </div>
        </div>
    </div>
</nav> 
 
<div class="home-container">
    <div class="home-subtitle"><h2>Find the cheapest domain registration, renewal and transfer prices</h2></div>
    
    <!-- 使用复用的搜索框组件 -->
    <div class="search-form">
    <form action="/tld" method="GET" onsubmit="return handleSearch(event)">
        <input type="text" name="q" class="search-input" placeholder="Enter TLD" value="">
        <button type="submit" class="search-button">Search</button>
    </form>
</div>

<script>
function handleSearch(event) {
    event.preventDefault();
    const input = event.target.querySelector('input[name="q"]');
    let query = input.value.trim().toLowerCase();
    
    // 如果是空的,不处理
    if (!query) {
        return false;
    }
    
    // 预定义的二级域名后缀列表
    const secondLevelTlds = [
        'com.cn', 'net.cn', 'org.cn', 'gov.cn', 'edu.cn',
        'co.uk', 'org.uk', 'me.uk',
        'co.jp', 'ne.jp',
        // 可以继续添加其他二级域名后缀
    ];
    
    // 1. 如果是完整URL,提取域名部分
    if (query.includes('://')) {
        try {
            const url = new URL(query);
            query = url.hostname;
        } catch (e) {
            // URL解析失败,保持原样
        }
    }
    
    // 2. 清理特殊字符,但保留点号和多语言字符
    query = query.replace(/[^\p{L}\p{N}.]/gu, '');
    
    // 3. 提取域名后缀
    let tld = '';
    if (query.includes('.')) {
        const parts = query.split('.');
        
        // 如果只有一个点(如 .com 或 .中国)
        if (parts.length === 2 && parts[0] === '') {
            tld = parts[1];
        } else {
            // 检查是否匹配二级域名后缀
            const lastTwoParts = parts.slice(-2).join('.');
            if (secondLevelTlds.includes(lastTwoParts)) {
                tld = lastTwoParts;
            } else {
                // 否则取最后一部分
                tld = parts[parts.length - 1];
            }
        }
    } else {
        // 没有点号的情况
        tld = query;
    }
    
    // 4. 如果提取后为空,不处理
    if (!tld) {
        return false;
    }
    
    // 5. 跳到对应的TLD页面
    const currentLocale = 'en-us';
    let targetPath = `/tld/${encodeURIComponent(tld)}/new`;
    
    // 如果不是默认语言,添加语言前缀
    if (currentLocale !== 'en-us') {
        targetPath = `/${currentLocale}${targetPath}`;
    }
    
    window.location.href = targetPath;
    return false;
}
</script>
    <!-- 热门搜索 -->
    <div class="hot-search">
        <div class="hot-search-title"><h2>Popular TLDs</h2></div>
        <div class="hot-search-items">
            <a href="/tld/com/new" class="hot-search-link">.com</a><a href="/tld/ai/new" class="hot-search-link">.ai</a><a href="/tld/net/new" class="hot-search-link">.net</a><a href="/tld/org/new" class="hot-search-link">.org</a><a href="/tld/xyz/new" class="hot-search-link">.xyz</a><a href="/tld/top/new" class="hot-search-link">.top</a><a href="/tld/site/new" class="hot-search-link">.site</a><a href="/tld/shop/new" class="hot-search-link">.shop</a><a href="/tld/app/new" class="hot-search-link">.app</a><a href="/tld/io/new" class="hot-search-link">.io</a><a href="/tld/dev/new" class="hot-search-link">.dev</a><a href="/tld/cloud/new" class="hot-search-link">.cloud</a><a href="/tld/cn/new" class="hot-search-link">.cn</a><a href="/tld/me/new" class="hot-search-link">.me</a><a href="/tld/co/new" class="hot-search-link">.co</a><a href="/tld/tech/new" class="hot-search-link">.tech</a><a href="/tld/online/new" class="hot-search-link">.online</a><a href="/tld/store/new" class="hot-search-link">.store</a><a href="/tld/中国/new" class="hot-search-link">.中国</a><a href="/tld/work/new" class="hot-search-link">.work</a><a href="/tld/한국/new" class="hot-search-link">.한국</a><a href="/tld/コム/new" class="hot-search-link">.コム</a><a href="/tld/pro/new" class="hot-search-link">.pro</a><a href="/tld/zip/new" class="hot-search-link">.zip</a>        </div>
        <!-- 添加查看全部后缀的链接 -->
        <div class="view-all-tlds">
            <div class="view-all-links">
                <a href="/all-tlds" class="view-all-link">
                    View All TLDs →
                </a>
                <a href="/all-registrars" class="view-all-link">
                    View All Registrars →
                </a>
            </div>
        </div>
    </div>
</div>

<footer class="footer">
    <div class="footer-container">
        © 2024 Yoo Domains
    </div>
</footer>

<script>
        // Function to load script asynchronously with timeout and custom attributes
        function loadScriptWithTimeout(src, timeout, attributes = {}) {
            return new Promise((resolve, reject) => {
                const script = document.createElement('script'); 
                script.src = src; 
                script.async = true; 
                script.defer = true; 

                // Add custom attributes to the script element
                for (const [key, value] of Object.entries(attributes)) {
                    script.setAttribute(key, value);
                }

                script.onload = () => {
                    resolve();
                };

                script.onerror = () => {
                    reject(); 
                };

                document.head.appendChild(script); 

                // Set a timeout to reject the promise if the script doesn't load within the specified time
                setTimeout(() => {
                    reject(); 
                }, timeout);
            });
        }

        // Custom attributes for the script
        const scriptAttributes = {
            'data-website-id': '86b50d17-971c-47cc-b3ea-051ac9f1b78e'
        };

        // Load the script with a 2-second timeout and custom attributes
        loadScriptWithTimeout('https://uai.hei.ge/uai', 3000, scriptAttributes)
        .catch(() => {
            // If loading fails or times out, remove the script element
            const script = document.querySelector(`script[src="https://uai.hei.ge/uai"]`); 
            if (script) {
                script.remove(); 
            }
        });
    </script>



  </body></html>