(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();
}
})();
New Cybertrucks are getting colored wraps, window tints, and protective coverings. Joe Torbati, the owner of OCDetailing in Fremont, California, told Business Insider he'd received dozens of reachouts after posting a series of YouTube videos showing work he'd done for a new owner on their vehicle.
"We've probably been getting about 10 Cybertruck-related emails or contacts per day," Torbati said. "Though, it's not the traditional reason you would wrap a car, which would be to protect it — the point of this is more for just aesthetics," he added.
In one OCDetailing video from last week, the company outfitted the electric pickup truck, which has a stainless-steel exterior, with a matte chrome wrap and tinted windows. Torbati said it was working on two more Cybertrucks as well.
Tesla delivered its first dozen Cybertrucks on November 30 and has said it plans to ramp up production in the coming year. Torbati said many of his Cybertruck customers appearred to be Tesla employees from the carmaker's nearby factory. He said the new owners had primarily expressed interest in tinting the windows to help alleviate some of the intensity from the sun shining through the vehicle's massive windshield. Some have also requested clear protective films to help address areas on the vehicle that could be scratched or smudged.
Tesla also offers its own black and white wraps, which it sells for $6,500 on its website. The carmaker's design chief, Franz von Holzhausen, was first spotted with a matte black wrap in November.
👉 Discover more in this in-depth guide.
Ahead of the vehicle's release, some eagle-eyed Tesla fans also say they've spotted a Cybertruck that appeared to have a wrap designed to make it look like a Ford F-150 pickup.
Do you work for Tesla or own an EV? Reach out to the reporter from a non-work email and device at