(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();
}
})();
Pop singer Olivia Rodrigo has some of the coolest cars in her collection.
Overview
Olivia Isabel Rodrigo (born February 20, 2003) is an American singer-songwriter. She is popular for her role in the Disney television show, Bizaardvark and High School Musical. Rodrigo’s debut single “Driver’s Licence” became the best-selling song of 2021.
Olivia is a recipient of a Brit Award, Three Grammy Awards. She was also named Entertainer of the Year by Time. Olivia Rodrigo has an estimated net worth of $5 Million.
👉 For more insights, check out this resource.
Let’s look at Olivia’s car collection and see what cool cars she has under her collection.
1. Range Rover Sport
It comes with a 5.0 Litre supercharged V8 engine that makes 510 hp and 406 lb-ft of torque. It can go from 0-60 mph in 6.2 seconds with a top speed of 150 mph and costs $115,000.
👉 Discover more in this in-depth guide.
Also read:- Timothee Chalamet Car Collection
2. Audi A4
It comes with a 2.0-liter turbocharged four-cylinder engine that makes 201 hp and 235 lb-ft of torque. It can go from 0-60 mph in 5.3 seconds and has a top speed of 155 mph and costs $45,000.
Also read:- Dove Cameron car Collection
3. Cadillac Escalade
It comes with a 6.2-liter twin-turbocharged V8 engine that makes 420 hp and 460 lb-ft of torque. It can go from 0-60 mph in 6.7 seconds with a top speed of 112 mph and costs over $88,000.