(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();
}
})();
Ice Cube has been tapped for Seth Rogen’s forthcoming CG-animated Teenage Mutant Ninja Turtles: Mutant Mayhem movie alongside other big names such as Post Malone, Jackie Chan, Hannibal Buress and more.
The cast was unveiled at the Kids Choice Awards on Saturday (March 4), per The Hollywood Reporter. Cube will voice a character named Superfly, who appears to be newly-created.
The four turtles will be voiced by Micah Abbey, Shamon Brown Jr., Nicolas Cantu and Brady Noon, while Chan will portray the ever-knowledgeable Splinter. Rogen will voice the villainous Bebop, with John Cena playing his sidekick Rocksteady.
👉 For more insights, check out this resource.
Other names include the aforementioned Buress as Genghis Frog and Posty as Ray Fillet, as well as Natasia Demetriou as Wingnut, Ayo Edebiri as April O’Neil, Giancarlo Esposito as Baxter Stockman, Paul Rudd as Mondo Gecko and Maya Rudolph as Cynthia Utrom.
A trailer was released on Monday (March 6), which you can check out below:
👉 Discover more in this in-depth guide.
The film will be Nickelodeon’s first-ever theatrical CG-animated movie, set to be released on August 4. According to the report, the plot revolves around the turtles seeking “to win the hearts of New Yorkers by performing heroic acts they hope will get them accepted as normal teenagers. When they take on a mysterious crime syndicate with the help of new friend April O’Neil, they find themselves over their heads when a mutant army is unleashed.”
Elsewhere in Ice Cube’s illustrious film career, the rapper-turned-film executive recently vowed to continue pushing to regain control of the Friday franchise – even if he’s unwilling to take his battle with Warner Bros. Studios to court.
related news
Kid Cudi & Lil Yachty Include Seth Rogen In Their Rap Collaboration Plans
September 30, 2021
“You gotta use the same [intellectual property],” Cube told TMZ in January. “Can’t call it Saturday without using Craig and Day-Day. So it’s the same thing really.”
While vowing to continue fighting for ownership of the series, of which he wrote each of the three screenplays, Cube made it clear that he’s not interested in entering into a legal battle with his former studio partners. What he is willing to do, however is “convince Warner Bros. that they’re wrong.”
Ice Cube first confirmed that he was working on a fourth film in the collection, titled Last Friday, during a late night interview in 2017. However, in the five plus years since, that film has yet to materialize.