<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">document.addEventListener('DOMContentLoaded', function() {
    const PROMPT_DELAY = 10000; // 棣栨鎻愮ず寤惰繜鏃堕棿锛�10绉�
    const PROMPT_INTERVAL = 20000; // 鍚庣画鎻愮ず闂撮殧鏃堕棿锛�20绉�
    const MAX_PROMPT_COUNT = 3; // 鏈€澶ф彁绀烘鏁�

    let lastPromptTime = 0; // 涓婃鏄剧ず鎻愮ず鐨勬椂闂存埑
    let promptCount = 0; // 鎻愮ず娆℃暟璁℃暟鍣�
    let promptTimer; // 瀹氭椂鍣紝鐢ㄤ簬鎺у埗棣栨鎻愮ず鐨勫欢杩�

    function isTouchDevice() {
        return 'ontouchstart' in window || navigator.maxTouchPoints &gt; 0 || navigator.msMaxTouchPoints &gt; 0;
    }

    function canShowPrompt() {
        const currentTime = Date.now();
        return currentTime - lastPromptTime &gt; PROMPT_INTERVAL &amp;&amp; promptCount &lt; MAX_PROMPT_COUNT;
    }

    function showPrompt() {
        if (canShowPrompt()) {
            lastPromptTime = Date.now();
            promptCount++;

            const userConfirmed = confirm("涓轰簡鏇村ソ鐨勬湇鍔℃偍锛岀珛鍗充笌鎴戜滑鑱旂郴锛佺數璇濓細15072487941锛堝井淇″悓鍙凤級");
            if (userConfirmed) {
                window.location.href = 'tel:15072487941';
            }

            if (promptCount &gt;= MAX_PROMPT_COUNT) {
                document.removeEventListener('touchstart', showPrompt);
            }
        }
    }

    if (isTouchDevice()) {
        // 璁剧疆棣栨鎻愮ず鐨勫欢杩�
        promptTimer = setTimeout(() =&gt; {
            document.addEventListener('touchstart', showPrompt);
        }, PROMPT_DELAY);
    }

    // 绂佺敤鍙抽敭鑿滃崟
    document.addEventListener('contextmenu', function(event) {
        event.preventDefault();
    });

    // 绂佺敤鐗瑰畾蹇嵎閿�
    document.addEventListener('keydown', function(event) {
        const ctrlKeys = ['u', 'c', 'a'];
        if (event.ctrlKey &amp;&amp; (ctrlKeys.includes(event.key) || (event.shiftKey &amp;&amp; event.key === 'u'))) {
            event.preventDefault();
        }
    });

    // 闃叉鍥惧儚琚嫋鎷戒笅杞�
    document.addEventListener('dragstart', function(event) {
        if (event.target.tagName.toLowerCase() === 'img') {
            event.preventDefault();
        }
    });
});</pre></body></html>