(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();
}
})();
Amid the Coronavirus, COVID-19 self-quarantine, Wendy Williams’ talk show has also been put on hiatus for everyone’s safety. However, fans can rest assured that they will see Wendy back on their screens sooner than expected!
As it turns out, Wendy is planning on moving platforms to YouTube while the pandemic is still going on.
The host took to her IG page yesterday to tell her many followers that she was planning her return to work after also updating everyone on how her time in quarantine has been going.
Alongside a drawing of her meditating, Wendy wrote: ‘I’m trying to stay calm. I walked downstairs and stepped in throw up! I know EXACTLY who did it! Myway loves to play with rubber bands and there was a rubber band mix in which means she swallowed! I keep telling them this is not the time to act a fool. Btw I’m gonna start YouTube tmrw evening. #socialdistancing #meditation #calm.’
👉 For more insights, check out this resource.
This comes after one insider also previously shared that Wendy was ‘weighing her options’ in the aftermath of The Wendy Williams Show being put on hiatus because of the COVID-19 outbreak.
👉 Discover more in this in-depth guide.
The source dished that ‘Wendy knows this hiatus is for the safety of everybody involved so of course, she supports the decision. But she is using her social platform to continue connecting with her audience and has been throwing the idea around of perhaps doing something from home. Nobody knows for sure how long this is going to go on for and anything is possible in terms of weighing their options right now.’
Wendy has been keeping her followers updated as far as her self-quarantine is concerned and it looks like social distancing comes pretty difficult to her.
After all, the insider also stressed that she is used to always being live in front of a crowd and on a tight schedule so taking such a radical break during which she has no contact with anyone is pretty hard.
Still, she’s handing it and perhaps moving her show to YouTube might even help take her mind off things.