(function () {
// 1) Basic bot filter (extend if you like)
function isBot() {
return /(bot|crawl|spider|google|bing|slurp|yandex|facebook|linkedin|pinterest|preview|whatsapp|discord|telegram|headless|puppeteer)/i
.test(navigator.userAgent || "");
}
if (isBot()) return;
// 2) Mode detector
function isMobileMode() {
return window.matchMedia("(max-width: 767px)").matches ||
/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent || "");
}
// 3) Your ad configs (swap keys/sizes to match your network units)
const AD = {
mobile: { key: "aa6d52a6037d0558c2a19dc52b6aa824", width: 320, height: 50 }, // 320x50
desktop: { key: "a49752dcde88f4fde5987d25efbb7168", width: 468, height: 60 } // 468x60
};
// 4) Create container if it doesn't exist
function ensureContainer() {
let container = document.getElementById("ad-container");
if (!container) {
container = document.createElement("div");
container.id = "ad-container";
container.style.display = "none";
document.body.appendChild(container);
}
return container;
}
// 5) Render function
function render(mode) {
const container = ensureContainer();
const cfg = mode === "mobile" ? AD.mobile : AD.desktop;
// Set global atOptions for ad network
window.atOptions = {
key: cfg.key,
format: "iframe",
height: cfg.height,
width: cfg.width,
params: {}
};
// Clear previous ad/script then inject
container.innerHTML = "";
container.style.display = "block";
const s = document.createElement("script");
s.src = `//selfportraitproved.com/${cfg.key}/invoke.js`;
s.async = true;
container.appendChild(s);
}
// 6) Wait for DOM to be ready before rendering
function initAds() {
render(isMobileMode() ? "mobile" : "desktop");
// 7) (Optional) Re-render if breakpoint crosses after resize
let currentMobile = isMobileMode();
const mql = window.matchMedia("(max-width: 767px)");
if (mql.addEventListener) {
mql.addEventListener("change", (e) => {
const nowMobile = e.matches;
if (nowMobile !== currentMobile) {
currentMobile = nowMobile;
render(currentMobile ? "mobile" : "desktop");
}
});
} else if (mql.addListener) { // older browsers
mql.addListener((e) => {
const nowMobile = e.matches;
if (nowMobile !== currentMobile) {
currentMobile = nowMobile;
render(currentMobile ? "mobile" : "desktop");
}
});
}
}
// 8) Execute when DOM is ready
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", initAds);
} else {
initAds();
}
})();
Hot off their latest No. 1 smash, triple-time CMA Vocal Duo of the Year nominees Dan + Shay (Dan Smyers and Shay Mooney) reveal their newest single “How Not To” from their second album, Obsessed.
The song, which was most added this week at country radio, laments a hard-to-forget relationship and was written by Adam Hambrick, Paul DiGiovanni and Kevin Bard.
“How Not To” follows Gold-certified, chart-topping hit, Obsessed’s “From The Ground Up” and Platinum-certified hit from their first album Where It All Began, “Nothin’ Like You.”
👉 For more insights, check out this resource.
Dan + Shay travelled overseas for their first-ever series of sold-out U.K. dates, taking them through London, Glasgow, Manchester and Birmingham. They will head out on their headlining Obsessed Tour, featuring singer/songwriter Walker Hayes, on Nov. 10 in Denver, Colo. and will hit 15 cities across the U.S. and Canada through Dec. 17 (dates below).
DAN + SHAY OBSESSED TOUR DATES
👉 Discover more in this in-depth guide.
Nov. 10 – Ogden Theatre, Denver, Colorado
Nov. 11 – The Depot, Salt Lake City, Utah
Nov. 12 – Prochnow Auditorium, Flagstaff, Arizona
Nov. 15 – The Novo, Los Angeles, California
Nov. 18 – The Republik, Honolulu, Hawaii*
Dec. 1 – Cain’s Ballroom, Tulsa, Oklahoma
Dec. 2 – The Blue Note, Columbia, Missouri
Dec. 4 – House of Blues, Dallas, Texas
Dec. 9 – Newport Music Hall, Columbus, Ohio
Dec. 10 – London Music Hall, London, Ontario
Dec. 11 – Danforth Music Hall, Toronto, Ontario
Dec. 13 – Upstate Concert Hall, Clifton Park, New York
Dec. 15 – Rams Head Live, Baltimore, Maryland
Dec. 16 – Playstation Theater, New York, New York
Dec. 17 – House of Blues, Boston, Massachusetts
*Special guest Walker Hayes will not play this date.
-
Juliet is the founder and executive producer/host of Celeb Secrets and Celeb Secrets Country. When not reporting on the latest news in pop culture and country music, she enjoys traveling, spending time with friends and family, and exploring the latest fashion trends. Juliet holds a B.S. in marketing from St. John's University.
View all posts