(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();
}
})();
CM Punk has never been one to hold his tongue and it feels like that should be kind of obvious at this stage of his career. The guy says what he wants when he wants, and he does so with a big old smile on his face.
Alas, we’re not convinced that he’s been smiling in the last day or so, as it appears as if someone has struck a bit of a nerve with him: and that someone is The Miz.
After Miz made an off-handed comment about changing the culture, likely aimed at Punk, the man himself responded with a pretty aggressive retort on Twitter.
“Go suck a blood money covered dick in Saudi Arabia you f*cking dork”
👉 For more insights, check out this resource.
While some believe this to be nothing more than a work, the content feels a little bit more personal – and that’s seemingly confirmed by the fact that Punk wound up deleting his tweet altogether.
Perhaps he received word from the FOX bosses that he’d stepped over the line, or maybe he thought better of it and took it upon himself to delete it.
👉 Discover more in this in-depth guide.
Whatever the case may be it’ll be interesting to see if there’s any sort of backlash to this, particularly due to WWE’s ongoing relationship with Saudi Arabia.
We can’t know for sure one way or the other, but Punk is the sort of guy that has a big influence on a whole lot of fans. WWE won’t want him spreading that kind of hatred online, even though he’s well within his rights to point out the Saudi element of it all.