(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();
}
})();
What’s your sign? Gigi Hadid, Kendall Jenner, Taylor Hill, Delilah Belle Hamlin and more celebs have been looking to the *actual* stars for everything these days, including when it comes to fashion. The way they’re doing it? Through the astrological jewelry brand Mercii, a line of 18k gold and sterling silver plated zodiac pendant available for $120.
Hadid rocked her Taurus necklace to celebrate her 24th birthday and Jenner posted a notecard that came with her chain outlining her Scorpion traits.
The concept for the brand was born when Mercii founders and designers (and boyfriend and girlfriend) Jye Taylor and Madeline Relph discovered Taylor’s family heirlooms including a zodiac pendant that belonged to his great grandfather.
“My great grandfather’s pendant caught our eye above the rest of his jewelry. I loved that It had such a unique vintage look and it also felt special, as it’s been passed down through two generations,” Taylor tells Stylish.
👉 For more insights, check out this resource.
“It was a piece that caught my eye and made me want to know more about it. I loved the classic feel it had, and soon, I wanted a similar piece for myself,” Relph explains.
Since then, they created just that and the line has taken off. The couple thinks it’s all thanks to the personal touch their pieces have along with the insight they bring. “Astrology can give you somewhat of a guide on how and why you are feeling a certain way and let you know that you are not alone,” Relph says.
👉 Discover more in this in-depth guide.
“I was never really into astrology until I met Maddy,” Taylor admits. “I was always aware of it, but never realized how accurate it could be when defining someone’s personality and traits — whether good or bad. It’s actually quite funny, whenever we both meet someone new, one of us can always guess their star sign.”
And whether you are constantly checking your horoscope or not, Relph thinks that their jewelry can bring people together and spark new conversations. “I always want the pieces to connect people and want everyone to be able to relate strongly to their sign… The Mercii customer in my eyes would be someone who seeks greater detail, wants to learn more, has love to share and enjoys representing who they are,” she says.
Scroll through to see their pieces and find your sign!