mecoreil.com
Open in
urlscan Pro
149.28.145.245
Public Scan
Submitted URL: http://mecoreil.com/js/time.js
Effective URL: https://mecoreil.com/js/time.js
Submission: On November 06 via api from US — Scanned from SG
Effective URL: https://mecoreil.com/js/time.js
Submission: On November 06 via api from US — Scanned from SG
Form analysis
0 forms found in the DOMText Content
function closeDiv() { var div = document.getElementById("visibleDiv"); div.style.display = "none"; } // è®¾ç½®ç›®æ ‡æ—¥æœŸ var countDownDate = new Date("Dec 31, 2024 23:59:59").getTime(); // æ¯ç§’更新倒计时 var x = setInterval(function() { // 获å–今天的日期和时间 var now = new Date().getTime(); // è®¡ç®—ä»ŽçŽ°åœ¨åˆ°ç›®æ ‡æ—¥æœŸçš„æ—¶é—´å·® var distance = countDownDate - now; // 时间计算 var days = Math.floor(distance / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); // 在id="countdown"çš„å…ƒç´ ä¸æ˜¾ç¤ºç»“æžœ document.getElementById("countdown").innerHTML = days + "天 " + hours + "å°æ—¶ " + minutes + "分钟 " + seconds + "秒" + "<span class='countdown-message'> åŽåˆ°æœŸ</span>"; // 如果倒计时结æŸï¼Œå†™ä¸€äº›æ–‡æœ¬ if (distance < 0) { clearInterval(x); document.getElementById("countdown").innerHTML = "时间到!"; } }, 1000);