document.addEventListener("DOMContentLoaded", function () { const TARGET_COUNTRIES = ["US", "MX", "CA", "BR"]; const mainContainer = document.querySelector("#aaaarchive-featured-item"); const mentionedContainer = document.querySelector("#aaaarchive-featured-item-mentioned-ct"); if (!mainContainer || !mentionedContainer) return; fetch("https://ipinfo.io/json?token=9ab3310b6b224b") .then(res => res.json()) .then(data => { const country = data.country?.toUpperCase(); if (TARGET_COUNTRIES.includes(country)) { // US, MX, CA, BR → show mentioned container mentionedContainer.style.removeProperty("display"); mainContainer.style.display = "none"; } else { // Everyone else → show default container mainContainer.style.removeProperty("display"); mentionedContainer.style.display = "none"; } }) .catch(err => { console.error("Geo check failed:", err); // Fallback: show default container, hide mentioned one mainContainer.style.removeProperty("display"); mentionedContainer.style.display = "none"; }); });

Nothing Found