(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();
}
})();
Sasha Alexander was born in Los Angeles, California on May 17, 1973. Her very first gig on television was in the short-lived show Wasteland, where she played a starring role. Though it didn’t last long, she gained significant notice being part of the main cast. This then led her to secure the recurring role of Gretchen in the well-known television series Dawson’s Creek.
After landing guest spots, she was cast as Special Agent Caitlin Todd in NCIS, which went on to receive widespread recognition among viewers. However, she left the show so her character was killed off in Season 2, which devastated NCIS fans. In the 2000s, she’s also had roles in the movies Mission: Impossible III, Yes Man, He’s Just Not That Into You, and The Girl from Nagasaki. In 2010, she began playing Dr. Maura Isles in Rizzoli & Isles.
Has Sasha Alexander had Plastic Surgery?
42-year-old Sasha Alexander still looks fabulous like she’s just in her 30s. More than a decade of working in the industry and she manages to look fit and beautiful while still scoring major gigs on television. Achieving radiant glow the natural way is an accomplishment in Hollywood where options such as plastic surgery is becoming more usual. Of course, the actress has been thought to have had cosmetic procedures as well, but these are mostly baseless rumors.
Thus far, Alexander doesn’t look like someone who’s employed a plastic surgeon’s service to look younger than her actual age. Her face is flawless, but not suspiciously shiny. Her face is also full of expressions, which can imply that she’s not really a fan of Botox. But of course, it’s still possible that she manages to take care of her skin by receiving minor treatments like chemical peels and lasers. Plus, her great look can also be a result of a healthy lifestyle.
👉 For more insights, check out this resource.
👉 Discover more in this in-depth guide.