var referrer = document.referrer; var lchref = location.href; ifm_link = "https://traffic-user.vn/traffic/iframe"; ifm_website_id = lchref.replace("?m=1", ""); ifm_vip = 0; ifm_list_browser = ['google.com', 'coccoc.com']; flagref = 0; var showMyIframe = async(e, r, f) => { const response = await fetch("https://traffic-user.vn/graph/api?action=localCheck", { method: 'POST', redirect: 'follow' }); const { status } = await response.json(); if (!status) return; if (status == false) return; var i = document.createElement("iframe"); i.src = e + "?w=" + r + "&v=" + f, i.width = 250, i.height = 40, i.referrerPolicy = "origin-when-cross-origin", i.frameBorder = 0, document.getElementById("myiframe").appendChild(i) function getCurrentTime() { var currentDate = new Date(); var hours = currentDate.getHours(); // Đảm bảo rằng giờ, phút và giây luôn có hai chữ số hours = (hours < 10) ? '0' + hours : hours; var currentTime = hours; return parseInt(currentTime); } function addTimeToDiv() { var currentTime = getCurrentTime(); var divElement = document.getElementById("myiframe"); // Tạo một thẻ
để hiển thị giờ hiện tại var pElement = document.createElement("p"); pElement.textContent = "Mã random traffic-user.vn: " + currentTime*225; // Thêm thẻ
vào thẻ